diff --git a/src/digital/v1_compat.rs b/src/digital/v1_compat.rs index 856cbb9fc..673ea9ca2 100644 --- a/src/digital/v1_compat.rs +++ b/src/digital/v1_compat.rs @@ -113,7 +113,7 @@ pub struct OldInputPin { impl OldInputPin where - T: v2::OutputPin, + T: v2::InputPin, E: core::fmt::Debug, { /// Create an `OldInputPin` wrapper around a `v2::InputPin`.