From 3c3fb0a529ac1fabbfef0e3c84d27d21c9fc1058 Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Sat, 30 Sep 2023 12:19:29 -0400 Subject: [PATCH] Remove unused imports --- embassy-stm32/src/timer/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/embassy-stm32/src/timer/mod.rs b/embassy-stm32/src/timer/mod.rs index 8cd47aed..953c8343 100644 --- a/embassy-stm32/src/timer/mod.rs +++ b/embassy-stm32/src/timer/mod.rs @@ -5,7 +5,6 @@ pub mod simple_pwm; use stm32_metapac::timer::vals; use crate::interrupt; -use crate::rcc::sealed::RccPeripheral as __RccPeri; use crate::rcc::RccPeripheral; use crate::time::Hertz; @@ -89,7 +88,6 @@ pub(crate) mod sealed { fn regs_gp32() -> crate::pac::timer::TimGp32; fn set_frequency(&mut self, frequency: Hertz) { - use core::convert::TryInto; let f = frequency.0; assert!(f > 0); let timer_f = Self::frequency().0;