diff --git a/src/ports/xtensa_esp32/hardware_timer.rs b/src/ports/xtensa_esp32/hardware_timer.rs index 046b115..d88183a 100644 --- a/src/ports/xtensa_esp32/hardware_timer.rs +++ b/src/ports/xtensa_esp32/hardware_timer.rs @@ -1,5 +1,5 @@ +use esp_hal::peripherals::*; use esp_hal::timer::timg::{Timer, Timer0, Timer1, TimerGroup}; -use esp_hal::{peripherals::*, prelude::*}; use crate::timer::TickType; diff --git a/src/ports/xtensa_esp32/preempt.rs b/src/ports/xtensa_esp32/preempt.rs index 053e6f1..5f5e141 100644 --- a/src/ports/xtensa_esp32/preempt.rs +++ b/src/ports/xtensa_esp32/preempt.rs @@ -1,6 +1,5 @@ use super::TrapFrame; use crate::ports::xtensa_esp32::hardware_timer::*; -use crate::task_manager::preemptive::Thread; use esp_hal::{ interrupt::{self, InterruptHandler, Priority}, peripherals::*,