Merge pull request #2029 from jesven/fix-rt_hw_context_switch_interrupt

修正rt_hw_context_switch_interrupt中一处笔误
This commit is contained in:
Bernard Xiong 2018-12-04 19:17:46 +08:00 committed by GitHub
commit 96c0a42f51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ rt_hw_context_switch_interrupt:
stmfd sp!, {r2} @ push old task's pc
stmfd sp!, {r4-r12,lr}@ push old task's lr,r12-r4
ldmfd r0, {r4-r7} @ restore r0-r3 of the interrupt thread
ldmfd r1, {r4-r7} @ restore r0-r3 of the interrupt thread
stmfd sp!, {r4-r7} @ push old task's r0-r3
stmfd sp!, {r3} @ push old task's cpsr