aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/timer/low_level.rs
diff options
context:
space:
mode:
authorEicke Hecht <[email protected]>2025-11-24 21:54:25 +0100
committerEicke Hecht <[email protected]>2025-11-24 21:54:25 +0100
commit05417e91093dfd7e150083738988259d66ee4e37 (patch)
tree3aa5418141c88327073722d942f588965e159c4b /embassy-stm32/src/timer/low_level.rs
parentd45376583386272bc49fecc7eed8951067f84ac8 (diff)
fix: Warnings and formatting all fixed
Diffstat (limited to 'embassy-stm32/src/timer/low_level.rs')
-rw-r--r--embassy-stm32/src/timer/low_level.rs4
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);