diff options
| -rw-r--r-- | embassy-stm32/src/gpio.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/gpio.rs b/embassy-stm32/src/gpio.rs index 58eed688a..3284b0cb2 100644 --- a/embassy-stm32/src/gpio.rs +++ b/embassy-stm32/src/gpio.rs | |||
| @@ -744,11 +744,11 @@ mod eh1 { | |||
| 744 | 744 | ||
| 745 | use super::*; | 745 | use super::*; |
| 746 | 746 | ||
| 747 | impl<'d, T: Pin> ErrorType for Flex<'d, T> { | 747 | impl<'d, T: Pin> ErrorType for Input<'d, T> { |
| 748 | type Error = Infallible; | 748 | type Error = Infallible; |
| 749 | } | 749 | } |
| 750 | 750 | ||
| 751 | impl<'d, T: Pin> InputPin for Flex<'d, T> { | 751 | impl<'d, T: Pin> InputPin for Input<'d, T> { |
| 752 | #[inline] | 752 | #[inline] |
| 753 | fn is_high(&self) -> Result<bool, Self::Error> { | 753 | fn is_high(&self) -> Result<bool, Self::Error> { |
| 754 | Ok(self.is_high()) | 754 | Ok(self.is_high()) |
