stm32/pwm: simplify impl blocks.

This commit is contained in:
Dario Nieuwenhuis 2024-01-02 17:28:23 +01:00
parent cad4efe57f
commit 638aa313d4

View file

@ -150,9 +150,7 @@ impl<'d, T: CaptureCompare16bitInstance> SimplePwm<'d, T> {
pub fn set_polarity(&mut self, channel: Channel, polarity: OutputPolarity) {
self.inner.set_output_polarity(channel, polarity);
}
}
impl<'d, T: CaptureCompare16bitInstance + Basic16bitInstance> SimplePwm<'d, T> {
/// Generate a sequence of PWM waveform
///
/// Note: