forked from M-Labs/zynq-rs
fix interrupt handler
This commit is contained in:
parent
e0d1dd4ba4
commit
d76f6fee0e
|
@ -51,7 +51,7 @@ macro_rules! interrupt_handler {
|
|||
#[link_section = ".text.boot"]
|
||||
#[no_mangle]
|
||||
#[naked]
|
||||
pub unsafe extern "C" fn $name() -> ! {
|
||||
pub unsafe extern "C" fn $name() {
|
||||
asm!(
|
||||
// setup SP, depending on CPU 0 or 1
|
||||
// and preserve registers
|
||||
|
|
Loading…
Reference in New Issue