mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-01-11 13:01:30 +11:00
Fix build errors in eh_1.0 mode.
This commit is contained in:
parent
7da16a726f
commit
55acbdb1b0
|
@ -181,9 +181,9 @@ impl<D: UartDevice, P: ValidUartPinout<D>> eh1::Write<u8> for Writer<D, P> {
|
|||
}
|
||||
|
||||
fn flush(&mut self) -> nb::Result<(), Self::Error> {
|
||||
transmit_flushed(&self.device).map_err(|e| match e {
|
||||
transmit_flushed(self.device).map_err(|e| match e {
|
||||
WouldBlock => WouldBlock,
|
||||
Other(_v) => {}
|
||||
Other(v) => match v {},
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue