diff options
| author | Bruno Bousquet <[email protected]> | 2024-05-29 00:53:09 -0400 |
|---|---|---|
| committer | Bruno Bousquet <[email protected]> | 2024-05-29 00:53:09 -0400 |
| commit | 66122aa60f2e1b23edaa4c46b3457bbdef72d4fc (patch) | |
| tree | 7a81d6d4014edfa8073bf1ca7d41e797c4a81e51 /examples/stm32f4 | |
| parent | 69badfb845c0fb43b4e4c1c2e9f74a535fcd317a (diff) | |
| parent | 61f1f80e90c3fd8ec505936f3bab0a50d2ba9b79 (diff) | |
Merge branch 'pwm_input_f103' into pwm_input
Diffstat (limited to 'examples/stm32f4')
| -rw-r--r-- | examples/stm32f4/src/bin/pwm_input.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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 _}; |
