aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/timer/simple_pwm.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/embassy-stm32/src/timer/simple_pwm.rs b/embassy-stm32/src/timer/simple_pwm.rs
index 77d902e35..80f10424c 100644
--- a/embassy-stm32/src/timer/simple_pwm.rs
+++ b/embassy-stm32/src/timer/simple_pwm.rs
@@ -150,9 +150,7 @@ impl<'d, T: CaptureCompare16bitInstance> SimplePwm<'d, T> {
150 pub fn set_polarity(&mut self, channel: Channel, polarity: OutputPolarity) { 150 pub fn set_polarity(&mut self, channel: Channel, polarity: OutputPolarity) {
151 self.inner.set_output_polarity(channel, polarity); 151 self.inner.set_output_polarity(channel, polarity);
152 } 152 }
153}
154 153
155impl<'d, T: CaptureCompare16bitInstance + Basic16bitInstance> SimplePwm<'d, T> {
156 /// Generate a sequence of PWM waveform 154 /// Generate a sequence of PWM waveform
157 /// 155 ///
158 /// Note: 156 /// Note: