diff options
Diffstat (limited to 'embassy-stm32/src/timer/low_level.rs')
| -rw-r--r-- | embassy-stm32/src/timer/low_level.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/embassy-stm32/src/timer/low_level.rs b/embassy-stm32/src/timer/low_level.rs index 2cee5f1f5..d1cf11386 100644 --- a/embassy-stm32/src/timer/low_level.rs +++ b/embassy-stm32/src/timer/low_level.rs | |||
| @@ -812,8 +812,6 @@ impl<'d, T: GeneralInstance4Channel> Timer<'d, T> { | |||
| 812 | /// You may want to start this in a new thread as this will block forever | 812 | /// You may want to start this in a new thread as this will block forever |
| 813 | 813 | ||
| 814 | pub async fn waveform_continuous<C: TimerChannel>(&mut self, dma: Peri<'_, impl super::Dma<T, C>>, duty: &[u16]) { | 814 | pub async fn waveform_continuous<C: TimerChannel>(&mut self, dma: Peri<'_, impl super::Dma<T, C>>, duty: &[u16]) { |
| 815 | |||
| 816 | |||
| 817 | use crate::pac::timer::vals::Ccds; | 815 | use crate::pac::timer::vals::Ccds; |
| 818 | 816 | ||
| 819 | #[allow(clippy::let_unit_value)] // eg. stm32f334 | 817 | #[allow(clippy::let_unit_value)] // eg. stm32f334 |
| @@ -855,7 +853,7 @@ impl<'d, T: GeneralInstance4Channel> Timer<'d, T> { | |||
| 855 | req: dma::Request, | 853 | req: dma::Request, |
| 856 | channel: Channel, | 854 | channel: Channel, |
| 857 | duty: &[u16], | 855 | duty: &[u16], |
| 858 | circular: bool, | 856 | #[allow(unused_variables)] circular: bool, |
| 859 | ) { | 857 | ) { |
| 860 | let original_duty_state = self.get_compare_value(channel); | 858 | let original_duty_state = self.get_compare_value(channel); |
| 861 | let original_enable_state = self.get_channel_enable_state(channel); | 859 | let original_enable_state = self.get_channel_enable_state(channel); |
