summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-06-10 22:51:48 +0800
committerGitHub <[email protected]>2020-06-10 22:51:48 +0800
commitb92c2652d5c75c6c65fbfa604d4b109196b1c41d (patch)
tree1905e55d75a4237e2748b98ea1fd8867cd4772bf
parent90e67a5ecdf28a73d443cac9a9f519ec44bac202 (diff)
parent62b2038fe6772a0021ee684947542a7649517593 (diff)
Merge pull request #3673 from DavidLin1577/patch-8
[libcpu]Fixed the wrong notes in context_iar.S
-rw-r--r--libcpu/rx/context_iar.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/rx/context_iar.S b/libcpu/rx/context_iar.S
index db02ce4d1f..97c630e797 100644
--- a/libcpu/rx/context_iar.S
+++ b/libcpu/rx/context_iar.S
@@ -28,8 +28,8 @@ _rt_hw_interrupt_enable:
MVTIPL #KERNEL_INTERRUPT_PRIORITY
RTS
-; r0 --> swith from thread stack
-; r1 --> swith to thread stack
+; r0 --> switch from thread stack
+; r1 --> switch to thread stack
; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
___interrupt_27: