aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-07-24 21:52:55 +0000
committerGitHub <[email protected]>2025-07-24 21:52:55 +0000
commit1baf918319fa772174e68fe0fc6f3b748ff7e463 (patch)
tree04614ecbce7ef1aab3c279870a3cab625fbca93f /embassy-stm32
parent4e9d38fef0b64e000ea8d2e04e34ec656028c44e (diff)
parent66296f673b05f3e34a85f85f30a23a98a863b3e3 (diff)
Merge pull request #4303 from Jacke-debug/autoreload_preload
Enable autoreload_preload for Complementary PWM
Diffstat (limited to 'embassy-stm32')
-rw-r--r--embassy-stm32/src/timer/complementary_pwm.rs1
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 }