diff --git a/embassy-stm32/src/gpio.rs b/embassy-stm32/src/gpio.rs index d5941c2f9..b6982e91a 100644 --- a/embassy-stm32/src/gpio.rs +++ b/embassy-stm32/src/gpio.rs @@ -511,7 +511,6 @@ pub(crate) mod sealed { self.set_as_analog(); } - #[cfg(any(gpio_v1, gpio_v2))] #[inline] unsafe fn set_speed(&self, speed: Speed) { let pin = self._pin() as usize;