diff options
| -rw-r--r-- | embassy-stm32/src/timer/complementary_pwm.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-stm32/src/timer/complementary_pwm.rs b/embassy-stm32/src/timer/complementary_pwm.rs index a450705a2..2bc8ceb5a 100644 --- a/embassy-stm32/src/timer/complementary_pwm.rs +++ b/embassy-stm32/src/timer/complementary_pwm.rs | |||
| @@ -77,6 +77,7 @@ impl<'d, T: AdvancedInstance4Channel> ComplementaryPwm<'d, T> { | |||
| 77 | this.inner.set_output_compare_mode(channel, OutputCompareMode::PwmMode1); | 77 | this.inner.set_output_compare_mode(channel, OutputCompareMode::PwmMode1); |
| 78 | this.inner.set_output_compare_preload(channel, true); | 78 | this.inner.set_output_compare_preload(channel, true); |
| 79 | }); | 79 | }); |
| 80 | this.inner.set_autoreload_preload(true); | ||
| 80 | 81 | ||
| 81 | this | 82 | this |
| 82 | } | 83 | } |
