From 36826fbedc54a3197b472a9fef50e81b59a4dc35 Mon Sep 17 00:00:00 2001 From: Victoria Fischer Date: Fri, 17 Oct 2025 18:12:40 +0200 Subject: [PATCH] main: warnings++ --- src/bin/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/bin/main.rs b/src/bin/main.rs index 339bfe0..d95330c 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -12,7 +12,6 @@ use embassy_executor::Spawner; use embassy_time::{Instant, Timer}; use esp_hal::{gpio::{Output, OutputConfig}, time::Rate}; -#[allow(unused_imports)] use esp_hal::{ clock::CpuClock, interrupt::software::SoftwareInterruptControl, system::{AppCoreGuard, CpuControl, Stack}, timer::{systimer::SystemTimer, timg::{TimerGroup, Wdt}}, gpio::Pin @@ -76,7 +75,6 @@ async fn main(spawner: Spawner) { wdt.set_timeout(esp_hal::timer::timg::MwdtStage::Stage0, esp_hal::time::Duration::from_secs(3)); let swi = SoftwareInterruptControl::new(peripherals.SW_INTERRUPT); let hi_exec = STATIC_HI_EXEC.init(InterruptExecutor::new(swi.software_interrupt0)); - #[allow(unused_variables)] let hi_spawn = hi_exec.start(esp_hal::interrupt::Priority::max()); wdt.enable();