Skip to content

Commit

Permalink
chore: delay not used in async example
Browse files Browse the repository at this point in the history
  • Loading branch information
zpg6 committed Dec 30, 2024
1 parent 0bbd89d commit 8ab4a43
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/src/bin/uart_send_break_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand All @@ -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);
Expand Down

0 comments on commit 8ab4a43

Please sign in to comment.