aboutsummaryrefslogtreecommitdiff
path: root/examples/rp/src/bin/uart_buffered_split.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rp/src/bin/uart_buffered_split.rs')
-rw-r--r--examples/rp/src/bin/uart_buffered_split.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rp/src/bin/uart_buffered_split.rs b/examples/rp/src/bin/uart_buffered_split.rs
index d3e67c8ed..14e8810a4 100644
--- a/examples/rp/src/bin/uart_buffered_split.rs
+++ b/examples/rp/src/bin/uart_buffered_split.rs
@@ -13,7 +13,7 @@ use embassy_executor::Spawner;
13use embassy_rp::bind_interrupts; 13use embassy_rp::bind_interrupts;
14use embassy_rp::peripherals::UART0; 14use embassy_rp::peripherals::UART0;
15use embassy_rp::uart::{BufferedInterruptHandler, BufferedUart, BufferedUartRx, Config}; 15use embassy_rp::uart::{BufferedInterruptHandler, BufferedUart, BufferedUartRx, Config};
16use embassy_time::{Duration, Timer}; 16use embassy_time::Timer;
17use embedded_io_async::{Read, Write}; 17use embedded_io_async::{Read, Write};
18use static_cell::make_static; 18use static_cell::make_static;
19use {defmt_rtt as _, panic_probe as _}; 19use {defmt_rtt as _, panic_probe as _};
@@ -42,7 +42,7 @@ async fn main(spawner: Spawner) {
42 ]; 42 ];
43 info!("TX {:?}", data); 43 info!("TX {:?}", data);
44 tx.write_all(&data).await.unwrap(); 44 tx.write_all(&data).await.unwrap();
45 Timer::after(Duration::from_secs(1)).await; 45 Timer::after_secs(1).await;
46 } 46 }
47} 47}
48 48