diff options
| author | Jakob <[email protected]> | 2025-06-11 11:34:37 +0200 |
|---|---|---|
| committer | Jakob <[email protected]> | 2025-06-11 11:34:37 +0200 |
| commit | 66296f673b05f3e34a85f85f30a23a98a863b3e3 (patch) | |
| tree | 87b00968b1a7b805970624dae80c3e2b1a9d6c86 /embassy-stm32 | |
| parent | 56572ef0adffd6258adc10fb424e37a8b4ddc19c (diff) | |
Enable autoreload_preload for complementary PWM
Diffstat (limited to 'embassy-stm32')
| -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 8eec6c0c7..7807bb1bf 100644 --- a/embassy-stm32/src/timer/complementary_pwm.rs +++ b/embassy-stm32/src/timer/complementary_pwm.rs | |||
| @@ -88,6 +88,7 @@ impl<'d, T: AdvancedInstance4Channel> ComplementaryPwm<'d, T> { | |||
| 88 | this.inner.set_output_compare_mode(channel, OutputCompareMode::PwmMode1); | 88 | this.inner.set_output_compare_mode(channel, OutputCompareMode::PwmMode1); |
| 89 | this.inner.set_output_compare_preload(channel, true); | 89 | this.inner.set_output_compare_preload(channel, true); |
| 90 | }); | 90 | }); |
| 91 | this.inner.set_autoreload_preload(true); | ||
| 91 | 92 | ||
| 92 | this | 93 | this |
| 93 | } | 94 | } |
