mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-02 06:40:32 +00:00
fmt
This commit is contained in:
parent
cfad9798ff
commit
3b2dd2bad8
@ -48,7 +48,7 @@ pub(crate) unsafe fn on_interrupt<T: Instance>() {
|
|||||||
regs.cr1().modify(|w| {
|
regs.cr1().modify(|w| {
|
||||||
w.set_addrie(false);
|
w.set_addrie(false);
|
||||||
w.set_stopie(false);
|
w.set_stopie(false);
|
||||||
// The flag can only be cleared by writting to nbytes, we won't do that here
|
// The flag can only be cleared by writting to nbytes, we won't do that here
|
||||||
w.set_tcie(false);
|
w.set_tcie(false);
|
||||||
// Error flags are to be read in the routines, so we also don't clear them here
|
// Error flags are to be read in the routines, so we also don't clear them here
|
||||||
w.set_nackie(false);
|
w.set_nackie(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user