mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 08:12:30 +00:00
rustfmt whitespace fixes
This commit is contained in:
parent
68a4fd8f4a
commit
3e00c1ac52
@ -76,7 +76,7 @@ impl<T: Instance> interrupt::typelevel::Handler<T::SCEInterrupt> for SceInterrup
|
||||
// Disable the interrupt, but don't acknowledge the error, so that it can be
|
||||
// forwarded off the the bus message consumer. If we don't provide some way for
|
||||
// downstream code to determine that it has already provided this bus error instance
|
||||
// to the bus message consumer, we are doomed to re-provide a single error instance for
|
||||
// to the bus message consumer, we are doomed to re-provide a single error instance for
|
||||
// an indefinite amount of time.
|
||||
let ier = T::regs().ier();
|
||||
ier.modify(|i| i.set_errie(false));
|
||||
|
@ -148,10 +148,10 @@ impl Registers {
|
||||
if !self.0.msr().read().erri() {
|
||||
// This ensures that once a single error instance has
|
||||
// been acknowledged and forwared to the bus message consumer
|
||||
// we don't continue to re-forward the same error occurrance for an
|
||||
// we don't continue to re-forward the same error occurrance for an
|
||||
// in-definite amount of time.
|
||||
return None;
|
||||
}
|
||||
}
|
||||
|
||||
// Since we have not already acknowledge the error, and the interrupt was
|
||||
// disabled in the ISR, we will acknowledge the current error and re-enable the interrupt
|
||||
|
Loading…
Reference in New Issue
Block a user