Rustfmt
This commit is contained in:
parent
d364447a34
commit
cc12eb9680
@ -810,7 +810,10 @@ impl<'d, T: Instance, U: TimerInstance> UarteRxWithIdle<'d, T, U> {
|
|||||||
|
|
||||||
r.events_endrx.reset();
|
r.events_endrx.reset();
|
||||||
r.events_error.reset();
|
r.events_error.reset();
|
||||||
r.intenset.write(|w| {w.endrx().set(); w.error().set()});
|
r.intenset.write(|w| {
|
||||||
|
w.endrx().set();
|
||||||
|
w.error().set()
|
||||||
|
});
|
||||||
|
|
||||||
compiler_fence(Ordering::SeqCst);
|
compiler_fence(Ordering::SeqCst);
|
||||||
|
|
||||||
@ -864,7 +867,10 @@ impl<'d, T: Instance, U: TimerInstance> UarteRxWithIdle<'d, T, U> {
|
|||||||
|
|
||||||
r.events_endrx.reset();
|
r.events_endrx.reset();
|
||||||
r.events_error.reset();
|
r.events_error.reset();
|
||||||
r.intenclr.write(|w| {w.endrx().clear(); w.error().clear()});
|
r.intenclr.write(|w| {
|
||||||
|
w.endrx().clear();
|
||||||
|
w.error().clear()
|
||||||
|
});
|
||||||
|
|
||||||
compiler_fence(Ordering::SeqCst);
|
compiler_fence(Ordering::SeqCst);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user