diff options
| author | Bruno Bousquet <[email protected]> | 2024-05-29 10:02:54 -0400 |
|---|---|---|
| committer | Bruno Bousquet <[email protected]> | 2024-05-29 10:02:54 -0400 |
| commit | a87b33303403ba3601d0c631b9efe1cb3853c73b (patch) | |
| tree | fc950040f8e0ba6205ec4b440f2deec69fd709d4 /examples/stm32f4 | |
| parent | 292c1dd0b858fe8dde74edd2f60a96f4c9e588da (diff) | |
fix fmt
Diffstat (limited to 'examples/stm32f4')
| -rw-r--r-- | examples/stm32f4/src/bin/pwm_input.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/stm32f4/src/bin/pwm_input.rs b/examples/stm32f4/src/bin/pwm_input.rs index 8fe1fdb5b..ce200549d 100644 --- a/examples/stm32f4/src/bin/pwm_input.rs +++ b/examples/stm32f4/src/bin/pwm_input.rs | |||
| @@ -46,6 +46,9 @@ async fn main(spawner: Spawner) { | |||
| 46 | let period = pwm_input.get_period_ticks(); | 46 | let period = pwm_input.get_period_ticks(); |
| 47 | let width = pwm_input.get_width_ticks(); | 47 | let width = pwm_input.get_width_ticks(); |
| 48 | let duty_cycle = pwm_input.get_duty_cycle(); | 48 | let duty_cycle = pwm_input.get_duty_cycle(); |
| 49 | info!("period ticks: {} width ticks: {} duty cycle: {}", period, width, duty_cycle); | 49 | info!( |
| 50 | "period ticks: {} width ticks: {} duty cycle: {}", | ||
| 51 | period, width, duty_cycle | ||
| 52 | ); | ||
| 50 | } | 53 | } |
| 51 | } | 54 | } |
