Browse Source

[libcpu]Fixed the wrong notes in context_iar.S

swith -> switch
David Lin 5 years ago
parent
commit
62b2038fe6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libcpu/rx/context_iar.S

+ 2 - 2
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: