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 0987cd6 commit 1aec3f8Copy full SHA for 1aec3f8
src/timer/pwm.rs
@@ -484,7 +484,7 @@ where
484
/// Set the polarity of the active state for the complementary PWM output of the advanced timer on channel `channel`
485
#[inline]
486
pub fn set_complementary_polarity(&mut self, channel: Channel, p: Polarity) {
487
- TIM::set_channel_polarity(PINS::check_complementary_used(channel) as u8, p);
+ TIM::set_nchannel_polarity(PINS::check_complementary_used(channel) as u8, p);
488
}
489
490
0 commit comments