diff options
| author | [email protected] <[email protected]> | 2022-06-30 22:55:57 +0200 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2022-06-30 22:55:57 +0200 |
| commit | f05082b9a3378e05d93fdfe4489b28ec1798f6d5 (patch) | |
| tree | d4c50d336f218d433e4fbc0da819382347b9b435 | |
| parent | 9b3c5af92ad55bc05a72b8957784f12c1a1ddcbd (diff) | |
have reverted changed in mod eh1 from previous commit
| -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()) |
