From 7ef85206dd82f9654ffe4bbf8b3e670da752031c Mon Sep 17 00:00:00 2001
From: David Lin <linpeng1577@gmail.com>
Date: Sun, 16 Feb 2020 20:39:50 +0800
Subject: [PATCH] Fixed function spelling mistakes in context_iar.S

swtich_to_thread -> switch_to_thread
---
 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 143ae00315..db02ce4d1f 100644
--- a/libcpu/rx/context_iar.S
+++ b/libcpu/rx/context_iar.S
@@ -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