mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-28 04:40:39 +00:00
Merge pull request #4303 from Jacke-debug/autoreload_preload
Enable autoreload_preload for Complementary PWM
This commit is contained in:
commit
1baf918319
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user