diff --git a/embassy-stm32/src/gpio.rs b/embassy-stm32/src/gpio.rs index 58eed688..3284b0cb 100644 --- a/embassy-stm32/src/gpio.rs +++ b/embassy-stm32/src/gpio.rs @@ -744,11 +744,11 @@ mod eh1 { use super::*; - impl<'d, T: Pin> ErrorType for Flex<'d, T> { + impl<'d, T: Pin> ErrorType for Input<'d, T> { type Error = Infallible; } - impl<'d, T: Pin> InputPin for Flex<'d, T> { + impl<'d, T: Pin> InputPin for Input<'d, T> { #[inline] fn is_high(&self) -> Result { Ok(self.is_high())