fix formatting
This commit is contained in:
parent
837950cd74
commit
d23717904b
@ -48,7 +48,8 @@ impl<T: BasicInstance> interrupt::typelevel::Handler<T::Interrupt> for Interrupt
|
|||||||
if !buf.is_empty() {
|
if !buf.is_empty() {
|
||||||
buf[0] = dr.unwrap();
|
buf[0] = dr.unwrap();
|
||||||
rx_writer.push_done(1);
|
rx_writer.push_done(1);
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
// FIXME: Should we disable any further RX interrupts when the buffer becomes full.
|
// FIXME: Should we disable any further RX interrupts when the buffer becomes full.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user