Fix non-DMA USART example.

This commit is contained in:
Bob McWhirter 2021-06-29 13:08:18 -04:00
parent 07a6686879
commit d5fb558005

View file

@ -23,7 +23,7 @@ async fn main_task() {
let p = embassy_stm32::init(Default::default());
let config = Config::default();
let mut usart = Uart::new(p.USART3, p.PD9, p.PD8, config, 16_000_000);
let mut usart = Uart::new(p.USART3, p.PD9, p.PD8, config);
usart.bwrite_all(b"Hello Embassy World!\r\n").unwrap();
info!("wrote Hello, starting echo");