diff --git a/examples/src/bin/uart_send_break_async.rs b/examples/src/bin/uart_send_break_async.rs index 56bfb8bdec..98d2b42434 100644 --- a/examples/src/bin/uart_send_break_async.rs +++ b/examples/src/bin/uart_send_break_async.rs @@ -15,7 +15,6 @@ use embassy_executor::Spawner; use embassy_time::Timer; use esp_backtrace as _; use esp_hal::{ - delay::Delay, gpio::{Level, Output}, timer::timg::TimerGroup, uart::{Config as UartConfig, DataBits, StopBits, Uart}, @@ -42,8 +41,6 @@ async fn main(_spawner: Spawner) { .expect("Failed to initialize UART") .into_async(); - let delay = Delay::new(); - // Used to toggle an output pin for comparing its timing with // the TX line on an oscilloscope. It's also the LED pin. let mut test_io_pin = Output::new(peripherals.GPIO2, Level::Low);