diff --git a/examples/ch32v203/src/bin/uart.rs b/examples/ch32v203/src/bin/uart.rs index 755da7c..0381109 100644 --- a/examples/ch32v203/src/bin/uart.rs +++ b/examples/ch32v203/src/bin/uart.rs @@ -17,7 +17,7 @@ async fn main(spawner: Spawner) -> ! { let mut led = Output::new(p.PB8, Level::Low, Default::default()); let mut cfg = usart::Config::default(); - let mut uart = UartTx::new(p.USART1, p.PA9, cfg).unwrap(); + let mut uart = UartTx::new_blocking(p.USART1, p.PA9, cfg).unwrap(); loop { Timer::after_millis(1000).await;