diff --git a/arch/avr/src/avr/excptmacros.h b/arch/avr/src/avr/excptmacros.h index 604ad5fae8d..b1d9583b804 100755 --- a/arch/avr/src/avr/excptmacros.h +++ b/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/arch/avr/src/avr/up_switchcontext.S b/arch/avr/src/avr/up_switchcontext.S index e60939c849f..3e451f4092e 100755 --- a/arch/avr/src/avr/up_switchcontext.S +++ b/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