aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBruno Bousquet <[email protected]>2024-05-29 00:52:55 -0400
committerBruno Bousquet <[email protected]>2024-05-29 00:52:55 -0400
commit61f1f80e90c3fd8ec505936f3bab0a50d2ba9b79 (patch)
tree9cb0758f0335d0fdea14ca5367684fc4304e9b82 /examples
parent50039b17a78bbefeca1a3dd6b689ea478079ea6b (diff)
fix fmt
Diffstat (limited to 'examples')
-rw-r--r--examples/stm32f1/src/bin/pwm_input.rs3
-rw-r--r--examples/stm32f4/src/bin/pwm_input.rs3
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::*;
6use embassy_executor::Spawner; 6use embassy_executor::Spawner;
7use embassy_stm32::gpio::{Level, Output, Pull, Speed}; 7use embassy_stm32::gpio::{Level, Output, Pull, Speed};
8use embassy_stm32::time::khz; 8use embassy_stm32::time::khz;
9use embassy_stm32::timer::{self, pwm_input::PwmInput}; 9use embassy_stm32::timer;
10use embassy_stm32::timer::pwm_input::PwmInput;
10use embassy_stm32::{bind_interrupts, peripherals}; 11use embassy_stm32::{bind_interrupts, peripherals};
11use embassy_time::Timer; 12use embassy_time::Timer;
12use {defmt_rtt as _, panic_probe as _}; 13use {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::*;
6use embassy_executor::Spawner; 6use embassy_executor::Spawner;
7use embassy_stm32::gpio::{Level, Output, Pull, Speed}; 7use embassy_stm32::gpio::{Level, Output, Pull, Speed};
8use embassy_stm32::time::khz; 8use embassy_stm32::time::khz;
9use embassy_stm32::timer::{self, pwm_input::PwmInput}; 9use embassy_stm32::timer;
10use embassy_stm32::timer::pwm_input::PwmInput;
10use embassy_stm32::{bind_interrupts, peripherals}; 11use embassy_stm32::{bind_interrupts, peripherals};
11use embassy_time::Timer; 12use embassy_time::Timer;
12use {defmt_rtt as _, panic_probe as _}; 13use {defmt_rtt as _, panic_probe as _};