aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp/src/pio_programs/uart.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-rp/src/pio_programs/uart.rs')
-rw-r--r--embassy-rp/src/pio_programs/uart.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/embassy-rp/src/pio_programs/uart.rs b/embassy-rp/src/pio_programs/uart.rs
index d59596dd1..a16d89a75 100644
--- a/embassy-rp/src/pio_programs/uart.rs
+++ b/embassy-rp/src/pio_programs/uart.rs
@@ -90,6 +90,10 @@ impl<PIO: Instance, const SM: usize> Write for PioUartTx<'_, PIO, SM> {
90 } 90 }
91 Ok(buf.len()) 91 Ok(buf.len())
92 } 92 }
93
94 async fn flush(&mut self) -> Result<(), Infallible> {
95 Ok(())
96 }
93} 97}
94 98
95/// This struct represents a Uart Rx program loaded into pio instruction memory. 99/// This struct represents a Uart Rx program loaded into pio instruction memory.