diff options
Diffstat (limited to 'embassy-mspm0/src/uart/buffered.rs')
| -rw-r--r-- | embassy-mspm0/src/uart/buffered.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embassy-mspm0/src/uart/buffered.rs b/embassy-mspm0/src/uart/buffered.rs index 89e6bcc7b..d1b75b177 100644 --- a/embassy-mspm0/src/uart/buffered.rs +++ b/embassy-mspm0/src/uart/buffered.rs | |||
| @@ -436,6 +436,10 @@ impl embedded_io_async::Write for BufferedUart<'_> { | |||
| 436 | async fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error> { | 436 | async fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error> { |
| 437 | self.tx.write_inner(buf).await | 437 | self.tx.write_inner(buf).await |
| 438 | } | 438 | } |
| 439 | |||
| 440 | async fn flush(&mut self) -> Result<(), Self::Error> { | ||
| 441 | self.tx.flush_inner().await | ||
| 442 | } | ||
| 439 | } | 443 | } |
| 440 | 444 | ||
| 441 | impl embedded_io_async::Write for BufferedUartTx<'_> { | 445 | impl embedded_io_async::Write for BufferedUartTx<'_> { |
