summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/avr')
-rwxr-xr-xnuttx/arch/avr/src/avr/excptmacros.h2
-rwxr-xr-xnuttx/arch/avr/src/avr/up_switchcontext.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/avr/src/avr/excptmacros.h b/nuttx/arch/avr/src/avr/excptmacros.h
index 604ad5fae..b1d9583b8 100755
--- a/nuttx/arch/avr/src/avr/excptmacros.h
+++ b/nuttx/arch/avr/src/avr/excptmacros.h
@@ -415,7 +415,7 @@
.macro TCB_RESTORE, regs
- /* X [r36:27] points to the resister save block. Get an offset pointer to the PC in
+ /* X [r36:27] points to the register save block. Get an offset pointer to the PC in
* Y [r28:29]
*/
diff --git a/nuttx/arch/avr/src/avr/up_switchcontext.S b/nuttx/arch/avr/src/avr/up_switchcontext.S
index e60939c84..3e451f409 100755
--- a/nuttx/arch/avr/src/avr/up_switchcontext.S
+++ b/nuttx/arch/avr/src/avr/up_switchcontext.S
@@ -122,7 +122,7 @@ up_switchcontext:
.global up_fullcontextrestore
.func up_fullcontextrestore
up_fullcontextrestore:
- /* Use X ]r26:r27] to reference the restore structure. */
+ /* Use X [r26:r27] to reference the restore structure. */
movw r26, r24