diff options
| author | David Lin <[email protected]> | 2020-06-10 10:15:06 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-06-10 10:15:06 +0800 |
| commit | 62b2038fe6772a0021ee684947542a7649517593 (patch) | |
| tree | 1b81440cb66d4e2e25a7da5f1368750d8874cc0c /libcpu/rx | |
| parent | ce833715042dfae615f3bc5ca22b8d294b7cade0 (diff) | |
[libcpu]Fixed the wrong notes in context_iar.S
swith -> switch
Diffstat (limited to 'libcpu/rx')
| -rw-r--r-- | libcpu/rx/context_iar.S | 4 |
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: |
