Remove unused imports
This commit is contained in:
parent
dc4c27aead
commit
3c3fb0a529
@ -5,7 +5,6 @@ pub mod simple_pwm;
|
|||||||
use stm32_metapac::timer::vals;
|
use stm32_metapac::timer::vals;
|
||||||
|
|
||||||
use crate::interrupt;
|
use crate::interrupt;
|
||||||
use crate::rcc::sealed::RccPeripheral as __RccPeri;
|
|
||||||
use crate::rcc::RccPeripheral;
|
use crate::rcc::RccPeripheral;
|
||||||
use crate::time::Hertz;
|
use crate::time::Hertz;
|
||||||
|
|
||||||
@ -89,7 +88,6 @@ pub(crate) mod sealed {
|
|||||||
fn regs_gp32() -> crate::pac::timer::TimGp32;
|
fn regs_gp32() -> crate::pac::timer::TimGp32;
|
||||||
|
|
||||||
fn set_frequency(&mut self, frequency: Hertz) {
|
fn set_frequency(&mut self, frequency: Hertz) {
|
||||||
use core::convert::TryInto;
|
|
||||||
let f = frequency.0;
|
let f = frequency.0;
|
||||||
assert!(f > 0);
|
assert!(f > 0);
|
||||||
let timer_f = Self::frequency().0;
|
let timer_f = Self::frequency().0;
|
||||||
|
Loading…
Reference in New Issue
Block a user