cortex-m: remove owned interrupts.
This commit is contained in:
@ -50,7 +50,7 @@
|
||||
use core::mem::ManuallyDrop;
|
||||
use core::sync::atomic::{compiler_fence, AtomicBool, Ordering};
|
||||
|
||||
use crate::interrupt::{Interrupt, InterruptExt};
|
||||
use crate::interrupt::Interrupt;
|
||||
use crate::peripherals::CORE1;
|
||||
use crate::{gpio, interrupt, pac};
|
||||
|
||||
@ -156,8 +156,7 @@ where
|
||||
|
||||
IS_CORE1_INIT.store(true, Ordering::Release);
|
||||
// Enable fifo interrupt on CORE1 for `pause` functionality.
|
||||
let irq = unsafe { interrupt::SIO_IRQ_PROC1::steal() };
|
||||
irq.enable();
|
||||
unsafe { interrupt::SIO_IRQ_PROC1::enable() };
|
||||
|
||||
entry()
|
||||
}
|
||||
|
Reference in New Issue
Block a user