Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/serial_echo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use cortex_m_rt::entry;
use stm32f7xx_hal::{
pac,
prelude::*,
serial::{self, Serial},
serial::{self, Serial, UART},
};

#[entry]
Expand All @@ -31,7 +31,7 @@ fn main() -> ! {
let tx = gpioa.pa9.into_alternate();
let rx = gpiob.pb7.into_alternate();

let serial = Serial::new(
let serial = Serial::new_async_no_flwctl(
p.USART1,
(tx, rx),
&clocks,
Expand Down
Loading