Skip to content

Commit

Permalink
Fixed unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
nando committed Jan 22, 2024
1 parent 808603d commit 240dfa6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pwm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ use crate::time::{Hertz, NanoSecond, U32Ext};
feature = "stm32g484"
))]
use crate::gpio::gpiog::*;
#[cfg(feature = "pwm-open-drain")]
use crate::gpio::AlternateOD;
#[cfg(any(
feature = "stm32g471",
feature = "stm32g473",
Expand All @@ -214,7 +216,7 @@ use crate::gpio::gpiog::*;
))]
use crate::gpio::AF14;
use crate::gpio::{gpioa::*, gpiob::*, gpioc::*, gpiod::*, gpioe::*, gpiof::*};
use crate::gpio::{Alternate, AlternateOD, AF1, AF10, AF11, AF12, AF2, AF3, AF4, AF5, AF6, AF9};
use crate::gpio::{Alternate, AF1, AF10, AF11, AF12, AF2, AF3, AF4, AF5, AF6, AF9};

// This trait marks that a GPIO pin can be used with a specific timer channel
// TIM is the timer being used
Expand Down

0 comments on commit 240dfa6

Please sign in to comment.