Fixed function spelling mistakes in context_iar.S

swtich_to_thread -> switch_to_thread
This commit is contained in:
David Lin 2020-02-16 20:39:50 +08:00 committed by GitHub
parent dd5178efdf
commit 7ef85206dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -73,12 +73,12 @@ ___interrupt_27:
MOV.L #_rt_interrupt_from_thread, R15
MOV.L [ R15 ], R15
MOV.L R0, [ R15 ]
BRA swtich_to_thread
BRA switch_to_thread
need_modify_isp:
MVFC ISP, R15
ADD #12, R15
MVTC R15, ISP
swtich_to_thread:
switch_to_thread:
SETPSW U
MOV.L #_rt_interrupt_to_thread, R15
MOV.L [ R15 ], R15