diff options
| author | Bruno Bousquet <[email protected]> | 2024-05-29 00:55:49 -0400 |
|---|---|---|
| committer | Bruno Bousquet <[email protected]> | 2024-05-29 00:55:49 -0400 |
| commit | 7f4803ddaf8f6eeeec45418f23b092bff95222d2 (patch) | |
| tree | 9d0368b9daa8464c38c23dbe8927c1e26050003c | |
| parent | 66122aa60f2e1b23edaa4c46b3457bbdef72d4fc (diff) | |
fix fmt again
| -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, 2 insertions, 4 deletions
diff --git a/examples/stm32f1/src/bin/pwm_input.rs b/examples/stm32f1/src/bin/pwm_input.rs index 9ca44d048..c051d1328 100644 --- a/examples/stm32f1/src/bin/pwm_input.rs +++ b/examples/stm32f1/src/bin/pwm_input.rs | |||
| @@ -6,9 +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; | ||
| 10 | use embassy_stm32::timer::pwm_input::PwmInput; | 9 | use embassy_stm32::timer::pwm_input::PwmInput; |
| 11 | use embassy_stm32::{bind_interrupts, peripherals}; | 10 | use embassy_stm32::{bind_interrupts, peripherals, timer}; |
| 12 | use embassy_time::Timer; | 11 | use embassy_time::Timer; |
| 13 | use {defmt_rtt as _, panic_probe as _}; | 12 | use {defmt_rtt as _, panic_probe as _}; |
| 14 | 13 | ||
diff --git a/examples/stm32f4/src/bin/pwm_input.rs b/examples/stm32f4/src/bin/pwm_input.rs index 98ea50df4..eb1e7cb87 100644 --- a/examples/stm32f4/src/bin/pwm_input.rs +++ b/examples/stm32f4/src/bin/pwm_input.rs | |||
| @@ -6,9 +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; | ||
| 10 | use embassy_stm32::timer::pwm_input::PwmInput; | 9 | use embassy_stm32::timer::pwm_input::PwmInput; |
| 11 | use embassy_stm32::{bind_interrupts, peripherals}; | 10 | use embassy_stm32::{bind_interrupts, peripherals, timer}; |
| 12 | use embassy_time::Timer; | 11 | use embassy_time::Timer; |
| 13 | use {defmt_rtt as _, panic_probe as _}; | 12 | use {defmt_rtt as _, panic_probe as _}; |
| 14 | 13 | ||
