diff --git a/rp2040-hal/src/uart/writer.rs b/rp2040-hal/src/uart/writer.rs index 1b27c27..d5f86ba 100644 --- a/rp2040-hal/src/uart/writer.rs +++ b/rp2040-hal/src/uart/writer.rs @@ -181,9 +181,9 @@ impl> eh1::Write for Writer { } 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 {}, }) } }