diff options
| author | Gerzain Mata <[email protected]> | 2025-07-27 09:42:17 -0700 |
|---|---|---|
| committer | Gerzain Mata <[email protected]> | 2025-07-27 09:56:02 -0700 |
| commit | 982117f5b0650734aece226d93343a30ac3a0b65 (patch) | |
| tree | 289ecf5122c9e6b4c733f8c30d17eb28d26f60ef /examples | |
| parent | b9e643d5c2d7192143e91db83b9e8377f0fbcacc (diff) | |
Cargo fmt
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; |
