aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/exti.rs
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2022-09-29 11:02:43 +0200
committerUlf Lilleengen <[email protected]>2022-09-29 11:27:46 +0200
commit72c2e985bb481fbc2e138a8e98b9dbb27878f370 (patch)
treef573324f2449b68b7b1fef579b755a67dbb406d7 /embassy-stm32/src/exti.rs
parent77ece3f903735b50f265ddd43520c50e0f28c1a1 (diff)
Update embedded-hal versions and explicitly pin
Diffstat (limited to 'embassy-stm32/src/exti.rs')
-rw-r--r--embassy-stm32/src/exti.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/exti.rs b/embassy-stm32/src/exti.rs
index 07c96ead0..dca991859 100644
--- a/embassy-stm32/src/exti.rs
+++ b/embassy-stm32/src/exti.rs
@@ -155,7 +155,7 @@ mod eh1 {
155 type Error = Infallible; 155 type Error = Infallible;
156 } 156 }
157 157
158 impl<'d, T: GpioPin> embedded_hal_1::digital::blocking::InputPin for ExtiInput<'d, T> { 158 impl<'d, T: GpioPin> embedded_hal_1::digital::InputPin for ExtiInput<'d, T> {
159 fn is_high(&self) -> Result<bool, Self::Error> { 159 fn is_high(&self) -> Result<bool, Self::Error> {
160 Ok(self.is_high()) 160 Ok(self.is_high())
161 } 161 }