aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/timer/simple_pwm.rs
diff options
context:
space:
mode:
authorxoviat <[email protected]>2025-11-25 08:23:53 -0600
committerxoviat <[email protected]>2025-11-25 08:23:53 -0600
commit424d9d3aa961d4170be96ac23331aa5a3cba3e5b (patch)
treee65195ae5d8bb02d32b2009316da22faef3f643f /embassy-stm32/src/timer/simple_pwm.rs
parent9e82cdc023cf001bd628ad68a712a41f8045455d (diff)
stm32: remove waveform method
Diffstat (limited to 'embassy-stm32/src/timer/simple_pwm.rs')
-rw-r--r--embassy-stm32/src/timer/simple_pwm.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/embassy-stm32/src/timer/simple_pwm.rs b/embassy-stm32/src/timer/simple_pwm.rs
index 6c9ef17e0..15399b108 100644
--- a/embassy-stm32/src/timer/simple_pwm.rs
+++ b/embassy-stm32/src/timer/simple_pwm.rs
@@ -362,12 +362,6 @@ impl<'d, T: GeneralInstance4Channel> SimplePwm<'d, T> {
362 .waveform_up_multi_channel(dma, starting_channel, ending_channel, duty) 362 .waveform_up_multi_channel(dma, starting_channel, ending_channel, duty)
363 .await; 363 .await;
364 } 364 }
365
366 /// Generate a sequence of PWM waveform
367 #[inline(always)]
368 pub async fn waveform<C: TimerChannel>(&mut self, dma: Peri<'_, impl super::Dma<T, C>>, duty: &[u16]) {
369 self.inner.waveform(dma, duty).await;
370 }
371} 365}
372 366
373impl<'d, T: GeneralInstance4Channel> embedded_hal_1::pwm::ErrorType for SimplePwmChannel<'d, T> { 367impl<'d, T: GeneralInstance4Channel> embedded_hal_1::pwm::ErrorType for SimplePwmChannel<'d, T> {