diff --git a/embedded-hal-ext/src/digital.rs b/embedded-hal-ext/src/digital.rs index 7eecffb..9a89364 100644 --- a/embedded-hal-ext/src/digital.rs +++ b/embedded-hal-ext/src/digital.rs @@ -307,7 +307,7 @@ impl Event for &mut T { #[cfg(feature = "async")] #[inline] async fn wait_for(self: &mut Self, event: PinEvent) -> Result { - T::wait_for(event) + T::wait_for(self, event).await } }