We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16c5fac commit cf8440cCopy full SHA for cf8440c
src/pwm.rs
@@ -321,7 +321,7 @@ macro_rules! pwm_2_channels {
321
tim.ccmr1_output().modify(|_, w| w.oc1pe().set_bit().oc1m().bits(6));
322
}
323
if PINS::C2 {
324
- tim.ccmr1_output().modify(|_, w| w.oc2pe().set_bit().oc1m().bits(6));
+ tim.ccmr1_output().modify(|_, w| w.oc2pe().set_bit().oc2m().bits(6));
325
326
327
// If pclk is prescaled from hclk, the frequency fed into the timers is doubled
0 commit comments