Merge pull request #4303 from Jacke-debug/autoreload_preload

Enable autoreload_preload for Complementary PWM
This commit is contained in:
Dario Nieuwenhuis 2025-07-24 21:52:55 +00:00 committed by GitHub
commit 1baf918319
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,6 +77,7 @@ impl<'d, T: AdvancedInstance4Channel> ComplementaryPwm<'d, T> {
this.inner.set_output_compare_mode(channel, OutputCompareMode::PwmMode1);
this.inner.set_output_compare_preload(channel, true);
});
this.inner.set_autoreload_preload(true);
this
}