aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/gpiote.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-nrf/src/gpiote.rs
parent77ece3f903735b50f265ddd43520c50e0f28c1a1 (diff)
Update embedded-hal versions and explicitly pin
Diffstat (limited to 'embassy-nrf/src/gpiote.rs')
-rw-r--r--embassy-nrf/src/gpiote.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-nrf/src/gpiote.rs b/embassy-nrf/src/gpiote.rs
index b418be9d5..25ad90496 100644
--- a/embassy-nrf/src/gpiote.rs
+++ b/embassy-nrf/src/gpiote.rs
@@ -457,7 +457,7 @@ mod eh1 {
457 type Error = Infallible; 457 type Error = Infallible;
458 } 458 }
459 459
460 impl<'d, C: Channel, T: GpioPin> embedded_hal_1::digital::blocking::InputPin for InputChannel<'d, C, T> { 460 impl<'d, C: Channel, T: GpioPin> embedded_hal_1::digital::InputPin for InputChannel<'d, C, T> {
461 fn is_high(&self) -> Result<bool, Self::Error> { 461 fn is_high(&self) -> Result<bool, Self::Error> {
462 Ok(self.pin.is_high()) 462 Ok(self.pin.is_high())
463 } 463 }