diff options
| author | Chen Yuheng <[email protected]> | 2024-06-19 11:04:40 +0800 |
|---|---|---|
| committer | Chen Yuheng <[email protected]> | 2024-06-19 11:04:40 +0800 |
| commit | a3c6626f4058c6cde6c27dd559d0b4d2b7d746ac (patch) | |
| tree | adad2eef8780ec243048bc25210badbf0f70987d /examples/stm32g0 | |
| parent | 0579d248efc1ee78f039fbfabcf2e0272e32ee53 (diff) | |
Update pwm_complementary.rs
Diffstat (limited to 'examples/stm32g0')
| -rw-r--r-- | examples/stm32g0/src/bin/pwm_complementary.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/stm32g0/src/bin/pwm_complementary.rs b/examples/stm32g0/src/bin/pwm_complementary.rs index 98305ae42..97b163c40 100644 --- a/examples/stm32g0/src/bin/pwm_complementary.rs +++ b/examples/stm32g0/src/bin/pwm_complementary.rs | |||
| @@ -20,7 +20,6 @@ use embassy_stm32::time::khz; | |||
| 20 | use embassy_stm32::timer::complementary_pwm::{ComplementaryPwm, ComplementaryPwmPin}; | 20 | use embassy_stm32::timer::complementary_pwm::{ComplementaryPwm, ComplementaryPwmPin}; |
| 21 | use embassy_stm32::timer::simple_pwm::PwmPin; | 21 | use embassy_stm32::timer::simple_pwm::PwmPin; |
| 22 | use embassy_stm32::timer::Channel; | 22 | use embassy_stm32::timer::Channel; |
| 23 | use embassy_stm32::Config as PeripheralConfig; | ||
| 24 | use {defmt_rtt as _, panic_probe as _}; | 23 | use {defmt_rtt as _, panic_probe as _}; |
| 25 | 24 | ||
| 26 | #[embassy_executor::main] | 25 | #[embassy_executor::main] |
