Fix warning in assembly

This commit is contained in:
Gwilym Kuiper 2022-04-26 22:16:56 +01:00
parent c3bfe83f6b
commit 94f66f74b1

View file

@ -26,10 +26,10 @@ InterruptHandler:
@ call the rust interrupt handler with r0 set to the triggered interrupts @ call the rust interrupt handler with r0 set to the triggered interrupts
ldr r1, =__RUST_INTERRUPT_HANDLER ldr r1, =__RUST_INTERRUPT_HANDLER
push {lr, r2} push {r2, lr}
mov lr, pc mov lr, pc
bx r1 bx r1
pop {lr, r2} pop {r2, lr}
@ change back to interrupt mode @ change back to interrupt mode
mrs r1, cpsr mrs r1, cpsr