diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32wba/src/bin/pwm.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/stm32wba/src/bin/pwm.rs b/examples/stm32wba/src/bin/pwm.rs index 611d7c097..2c696834a 100644 --- a/examples/stm32wba/src/bin/pwm.rs +++ b/examples/stm32wba/src/bin/pwm.rs | |||
| @@ -5,8 +5,9 @@ use defmt::*; | |||
| 5 | use defmt_rtt as _; // global logger | 5 | use defmt_rtt as _; // global logger |
| 6 | use embassy_executor::Spawner; | 6 | use embassy_executor::Spawner; |
| 7 | use embassy_stm32::gpio::OutputType; | 7 | use embassy_stm32::gpio::OutputType; |
| 8 | use embassy_stm32::rcc::{AHB5Prescaler, AHBPrescaler, APBPrescaler, Sysclk, VoltageScale}; | 8 | use embassy_stm32::rcc::{ |
| 9 | use embassy_stm32::rcc::{PllDiv, PllMul, PllPreDiv, PllSource}; | 9 | AHB5Prescaler, AHBPrescaler, APBPrescaler, PllDiv, PllMul, PllPreDiv, PllSource, Sysclk, VoltageScale, |
| 10 | }; | ||
| 10 | use embassy_stm32::time::khz; | 11 | use embassy_stm32::time::khz; |
| 11 | use embassy_stm32::timer::simple_pwm::{PwmPin, SimplePwm}; | 12 | use embassy_stm32::timer::simple_pwm::{PwmPin, SimplePwm}; |
| 12 | use embassy_stm32::Config; | 13 | use embassy_stm32::Config; |
