diff options
Diffstat (limited to 'core/cortex-m0/switch.S')
-rw-r--r-- | core/cortex-m0/switch.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cortex-m0/switch.S b/core/cortex-m0/switch.S index a27d929816..a75daad939 100644 --- a/core/cortex-m0/switch.S +++ b/core/cortex-m0/switch.S @@ -104,7 +104,7 @@ svc_handler_return: .thumb_func pendsv_handler: push {r3, lr} @ save link register and keep stack aligned - ldr r0, =#CPU_SCB_ICSR @ load CPU_SCB_ICSR's address + ldr r0, =CPU_SCB_ICSR @ load CPU_SCB_ICSR's address movs r1, #1 @ prepare left shift (1 << 27) lsls r1, #27 @ shift the bit str r1, [r0] @ clear pending flag |