diff --git a/rp2040-hal/src/gpio/mod.rs b/rp2040-hal/src/gpio/mod.rs index efd76f3e3..996f8e542 100644 --- a/rp2040-hal/src/gpio/mod.rs +++ b/rp2040-hal/src/gpio/mod.rs @@ -1429,20 +1429,6 @@ mod eh1 { } } - impl InputPin for Pin, P> - where - I: PinId, - P: PullType, - { - fn is_high(&self) -> Result { - Ok(self._is_high()) - } - - fn is_low(&self) -> Result { - Ok(self._is_low()) - } - } - impl StatefulOutputPin for Pin, P> where I: PinId, @@ -1467,6 +1453,7 @@ mod eh1 { Ok(()) } } + impl InputPin for Pin, P> where I: PinId, @@ -1489,6 +1476,7 @@ mod eh1 { { type Error = Error; } + impl<'a, I: PinId, F: super::func::Function, P: PullType> InputPin for super::AsInputPin<'a, I, F, P> {