diff options
| author | Bruno Bousquet <[email protected]> | 2024-05-29 00:52:55 -0400 |
|---|---|---|
| committer | Bruno Bousquet <[email protected]> | 2024-05-29 00:52:55 -0400 |
| commit | 61f1f80e90c3fd8ec505936f3bab0a50d2ba9b79 (patch) | |
| tree | 9cb0758f0335d0fdea14ca5367684fc4304e9b82 /examples | |
| parent | 50039b17a78bbefeca1a3dd6b689ea478079ea6b (diff) | |
fix fmt
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32f1/src/bin/pwm_input.rs | 3 | ||||
| -rw-r--r-- | examples/stm32f4/src/bin/pwm_input.rs | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/stm32f1/src/bin/pwm_input.rs b/examples/stm32f1/src/bin/pwm_input.rs index 718bf0fcf..9ca44d048 100644 --- a/examples/stm32f1/src/bin/pwm_input.rs +++ b/examples/stm32f1/src/bin/pwm_input.rs | |||
| @@ -6,7 +6,8 @@ use defmt::*; | |||
| 6 | use embassy_executor::Spawner; | 6 | use embassy_executor::Spawner; |
| 7 | use embassy_stm32::gpio::{Level, Output, Pull, Speed}; | 7 | use embassy_stm32::gpio::{Level, Output, Pull, Speed}; |
| 8 | use embassy_stm32::time::khz; | 8 | use embassy_stm32::time::khz; |
| 9 | use embassy_stm32::timer::{self, pwm_input::PwmInput}; | 9 | use embassy_stm32::timer; |
| 10 | use embassy_stm32::timer::pwm_input::PwmInput; | ||
| 10 | use embassy_stm32::{bind_interrupts, peripherals}; | 11 | use embassy_stm32::{bind_interrupts, peripherals}; |
| 11 | use embassy_time::Timer; | 12 | use embassy_time::Timer; |
| 12 | use {defmt_rtt as _, panic_probe as _}; | 13 | use {defmt_rtt as _, panic_probe as _}; |
diff --git a/examples/stm32f4/src/bin/pwm_input.rs b/examples/stm32f4/src/bin/pwm_input.rs index e57e58c22..98ea50df4 100644 --- a/examples/stm32f4/src/bin/pwm_input.rs +++ b/examples/stm32f4/src/bin/pwm_input.rs | |||
| @@ -6,7 +6,8 @@ use defmt::*; | |||
| 6 | use embassy_executor::Spawner; | 6 | use embassy_executor::Spawner; |
| 7 | use embassy_stm32::gpio::{Level, Output, Pull, Speed}; | 7 | use embassy_stm32::gpio::{Level, Output, Pull, Speed}; |
| 8 | use embassy_stm32::time::khz; | 8 | use embassy_stm32::time::khz; |
| 9 | use embassy_stm32::timer::{self, pwm_input::PwmInput}; | 9 | use embassy_stm32::timer; |
| 10 | use embassy_stm32::timer::pwm_input::PwmInput; | ||
| 10 | use embassy_stm32::{bind_interrupts, peripherals}; | 11 | use embassy_stm32::{bind_interrupts, peripherals}; |
| 11 | use embassy_time::Timer; | 12 | use embassy_time::Timer; |
| 12 | use {defmt_rtt as _, panic_probe as _}; | 13 | use {defmt_rtt as _, panic_probe as _}; |
