diff options
Diffstat (limited to 'examples/stm32f334')
| -rw-r--r-- | examples/stm32f334/src/bin/pwm.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32f334/src/bin/pwm.rs b/examples/stm32f334/src/bin/pwm.rs index e6d1a6c02..2b0686121 100644 --- a/examples/stm32f334/src/bin/pwm.rs +++ b/examples/stm32f334/src/bin/pwm.rs | |||
| @@ -57,14 +57,14 @@ async fn main(_spawner: Spawner) { | |||
| 57 | // embassy_stm32::pac::HRTIM1 | 57 | // embassy_stm32::pac::HRTIM1 |
| 58 | // .tim(0) | 58 | // .tim(0) |
| 59 | // .setr(0) | 59 | // .setr(0) |
| 60 | // .modify(|w| w.set_sst(Activeeffect::SETACTIVE)); | 60 | // .modify(|w| w.set_sst(true)); |
| 61 | // | 61 | // |
| 62 | // Timer::after_millis(500).await; | 62 | // Timer::after_millis(500).await; |
| 63 | // | 63 | // |
| 64 | // embassy_stm32::pac::HRTIM1 | 64 | // embassy_stm32::pac::HRTIM1 |
| 65 | // .tim(0) | 65 | // .tim(0) |
| 66 | // .rstr(0) | 66 | // .rstr(0) |
| 67 | // .modify(|w| w.set_srt(Inactiveeffect::SETINACTIVE)); | 67 | // .modify(|w| w.set_srt(true)); |
| 68 | 68 | ||
| 69 | let max_duty = buck_converter.get_max_compare_value(); | 69 | let max_duty = buck_converter.get_max_compare_value(); |
| 70 | 70 | ||
