From f05082b9a3378e05d93fdfe4489b28ec1798f6d5 Mon Sep 17 00:00:00 2001 From: "amugniere@gmail.com" Date: Thu, 30 Jun 2022 22:55:57 +0200 Subject: [PATCH] have reverted changed in mod eh1 from previous commit --- embassy-stm32/src/gpio.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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())