From 62b2038fe6772a0021ee684947542a7649517593 Mon Sep 17 00:00:00 2001 From: David Lin Date: Wed, 10 Jun 2020 10:15:06 +0800 Subject: [PATCH] [libcpu]Fixed the wrong notes in context_iar.S swith -> switch --- libcpu/rx/context_iar.S | 4 ++-- 1 file 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: