[libcpu/arm]: fix typo
This commit is contained in:
parent
ea6999a700
commit
d2909eb16b
|
@ -90,7 +90,7 @@ PendSV_Handler:
|
||||||
LDR R0, =rt_thread_switch_interrupt_flag
|
LDR R0, =rt_thread_switch_interrupt_flag
|
||||||
LDR R1, [R0]
|
LDR R1, [R0]
|
||||||
CMP R1, #0x00
|
CMP R1, #0x00
|
||||||
BEQ pendsv_exit /* pendsv aLReady handled */
|
BEQ pendsv_exit /* pendsv already handled */
|
||||||
|
|
||||||
/* clear rt_thread_switch_interrupt_flag to 0 */
|
/* clear rt_thread_switch_interrupt_flag to 0 */
|
||||||
MOVS R1, #0
|
MOVS R1, #0
|
||||||
|
|
|
@ -91,7 +91,7 @@ PendSV_Handler:
|
||||||
LDR R0, =rt_thread_switch_interrupt_flag
|
LDR R0, =rt_thread_switch_interrupt_flag
|
||||||
LDR R1, [R0]
|
LDR R1, [R0]
|
||||||
CMP R1, #0x00
|
CMP R1, #0x00
|
||||||
BEQ pendsv_exit /* pendsv aLReady handled */
|
BEQ pendsv_exit /* pendsv already handled */
|
||||||
|
|
||||||
/* clear rt_thread_switch_interrupt_flag to 0 */
|
/* clear rt_thread_switch_interrupt_flag to 0 */
|
||||||
MOVS R1, #0
|
MOVS R1, #0
|
||||||
|
|
|
@ -90,7 +90,7 @@ PendSV_Handler:
|
||||||
/* get rt_thread_switch_interrupt_flag */
|
/* get rt_thread_switch_interrupt_flag */
|
||||||
LDR R0, =rt_thread_switch_interrupt_flag
|
LDR R0, =rt_thread_switch_interrupt_flag
|
||||||
LDR R1, [R0]
|
LDR R1, [R0]
|
||||||
CBZ R1, pendsv_exit /* pendsv aLReady handled */
|
CBZ R1, pendsv_exit /* pendsv already handled */
|
||||||
|
|
||||||
/* clear rt_thread_switch_interrupt_flag to 0 */
|
/* clear rt_thread_switch_interrupt_flag to 0 */
|
||||||
MOV R1, #0
|
MOV R1, #0
|
||||||
|
|
Loading…
Reference in New Issue