stm32/ipcc: remove constrain
This commit is contained in:
@ -131,8 +131,9 @@ impl EvtBox {
|
||||
|
||||
impl Drop for EvtBox {
|
||||
fn drop(&mut self) {
|
||||
use crate::ipcc::IpccExt;
|
||||
let mut ipcc = unsafe { crate::Peripherals::steal() }.IPCC.constrain();
|
||||
use crate::ipcc::Ipcc;
|
||||
|
||||
let mut ipcc = Ipcc::new_inner(unsafe { crate::Peripherals::steal() }.IPCC);
|
||||
mm::MemoryManager::evt_drop(self.ptr, &mut ipcc);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user