diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-01-02 17:28:23 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-01-02 17:28:23 +0100 |
| commit | 638aa313d4e5e80649f7f6201fef3154e5b2bbd5 (patch) | |
| tree | 803d001f6c6ea8d977077b505d5189c7c1a168b8 /embassy-stm32/src/timer/simple_pwm.rs | |
| parent | cad4efe57f9817b9368bb431dd12f18d05030c9f (diff) | |
stm32/pwm: simplify impl blocks.
Diffstat (limited to 'embassy-stm32/src/timer/simple_pwm.rs')
| -rw-r--r-- | embassy-stm32/src/timer/simple_pwm.rs | 2 |
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 | ||
| 155 | impl<'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: |
