From c228ffe666c4354c909ea454cebc14387930c9c0 Mon Sep 17 00:00:00 2001 From: Jakob Date: Sun, 10 Aug 2025 09:22:49 +0200 Subject: Remove unrelated cahnges --- embassy-stm32/src/timer/complementary_pwm.rs | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'embassy-stm32') diff --git a/embassy-stm32/src/timer/complementary_pwm.rs b/embassy-stm32/src/timer/complementary_pwm.rs index 1f049cb32..b291fc155 100644 --- a/embassy-stm32/src/timer/complementary_pwm.rs +++ b/embassy-stm32/src/timer/complementary_pwm.rs @@ -92,11 +92,7 @@ impl<'d, T: AdvancedInstance4Channel> ComplementaryPwm<'d, T> { } /// Sets the idle output state for the given channels. - pub fn set_output_idle_state( - &mut self, - channels: &[Channel], - polarity: IdlePolarity, - ) { + pub fn set_output_idle_state(&mut self, channels: &[Channel], polarity: IdlePolarity) { let ois_active = matches!(polarity, IdlePolarity::OisActive); for &channel in channels { self.inner.set_ois(channel, ois_active); @@ -139,16 +135,6 @@ impl<'d, T: AdvancedInstance4Channel> ComplementaryPwm<'d, T> { self.inner.get_moe() } - /// Set Master Slave Mode 2 - pub fn set_mms2(&mut self, mms2: Mms2) { - self.inner.set_mms2_selection(mms2); - } - - /// Set Repetition Counter - pub fn set_repetition_counter(&mut self, val: u16) { - self.inner.set_repetition_counter(val); - } - /// Enable the given channel. pub fn enable(&mut self, channel: Channel) { self.inner.enable_channel(channel, true); -- cgit