From b1c8e7ae233e2442d37193c5471aa900e555242f Mon Sep 17 00:00:00 2001 From: ArtemKhel Date: Fri, 6 Dec 2024 15:44:17 +0300 Subject: [PATCH] remove unused imports --- src/ports/xtensa_esp32/hardware_timer.rs | 2 +- src/ports/xtensa_esp32/preempt.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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::*,