USB: Use updated PeripheralMutex

This commit is contained in:
Thales Fragoso
2021-03-01 21:30:03 -03:00
parent a39dea4d98
commit 615bb33dcb
11 changed files with 17 additions and 186 deletions

View File

@ -9,7 +9,7 @@ use crate::pac::NVIC_PRIO_BITS;
// Re-exports
pub use cortex_m::interrupt::{CriticalSection, Mutex};
pub use embassy::interrupt::{declare, take, Interrupt};
pub use embassy::interrupt::{declare, take, Interrupt, InterruptExt};
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]