diff options
| author | xoviat <[email protected]> | 2023-07-28 17:18:22 -0500 |
|---|---|---|
| committer | xoviat <[email protected]> | 2023-07-28 17:18:22 -0500 |
| commit | c7c701b3e312c14ca00eabfa8b6d422cec869cbf (patch) | |
| tree | df9388eca3a45127eb36a670396d3a2c91517fa0 /examples/stm32f4/src/bin/pwm_complementary.rs | |
| parent | e495d606ec62ccfd72eaf9fc868455da217e2d5c (diff) | |
| parent | cc414e63d3b7aec7da07d9097cf8a78b5d55a73a (diff) | |
Merge branch 'main' of https://github.com/embassy-rs/embassy into hrtim
Diffstat (limited to 'examples/stm32f4/src/bin/pwm_complementary.rs')
| -rw-r--r-- | examples/stm32f4/src/bin/pwm_complementary.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/stm32f4/src/bin/pwm_complementary.rs b/examples/stm32f4/src/bin/pwm_complementary.rs index a8a68ed6e..8cc2a4117 100644 --- a/examples/stm32f4/src/bin/pwm_complementary.rs +++ b/examples/stm32f4/src/bin/pwm_complementary.rs | |||
| @@ -4,10 +4,10 @@ | |||
| 4 | 4 | ||
| 5 | use defmt::*; | 5 | use defmt::*; |
| 6 | use embassy_executor::Spawner; | 6 | use embassy_executor::Spawner; |
| 7 | use embassy_stm32::pwm::complementary_pwm::{ComplementaryPwm, ComplementaryPwmPin}; | ||
| 8 | use embassy_stm32::pwm::simple_pwm::PwmPin; | ||
| 9 | use embassy_stm32::pwm::Channel; | ||
| 10 | use embassy_stm32::time::khz; | 7 | use embassy_stm32::time::khz; |
| 8 | use embassy_stm32::timer::complementary_pwm::{ComplementaryPwm, ComplementaryPwmPin}; | ||
| 9 | use embassy_stm32::timer::simple_pwm::PwmPin; | ||
| 10 | use embassy_stm32::timer::Channel; | ||
| 11 | use embassy_time::{Duration, Timer}; | 11 | use embassy_time::{Duration, Timer}; |
| 12 | use {defmt_rtt as _, panic_probe as _}; | 12 | use {defmt_rtt as _, panic_probe as _}; |
| 13 | 13 | ||
