From 8ab4a43ae702c76032b99c5ff689400a7462d75e Mon Sep 17 00:00:00 2001 From: Zach Grimaldi Date: Mon, 30 Dec 2024 12:19:25 -0500 Subject: [PATCH] chore: delay not used in async example --- examples/src/bin/uart_send_break_async.rs | 3 --- 1 file changed, 3 deletions(-) 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);