diff --git a/embassy/src/util/waker_agnostic.rs b/embassy/src/util/waker_agnostic.rs index 53f1ec135..f43cc8c33 100644 --- a/embassy/src/util/waker_agnostic.rs +++ b/embassy/src/util/waker_agnostic.rs @@ -2,7 +2,7 @@ use core::cell::Cell; use core::mem; use core::task::Waker; -use cortex_m::interrupt::Mutex; +use crate::util::CriticalSectionMutex as Mutex; /// Utility struct to register and wake a waker. #[derive(Debug)]