diff --git a/arch/avr/src/at32uc3/at32uc3_timerisr.c b/arch/avr/src/at32uc3/at32uc3_timerisr.c index 655b312e7dd..aa341c3afed 100644 --- a/arch/avr/src/at32uc3/at32uc3_timerisr.c +++ b/arch/avr/src/at32uc3/at32uc3_timerisr.c @@ -126,7 +126,7 @@ # define AV32_PSEL 1 # define AV32_TOP (82-1) #else -# define AV32_PSEL 3 +# define AV32_PSEL 2 # define AV32_TOP (144-1) #endif diff --git a/arch/avr/src/avr32/up_switchcontext.S b/arch/avr/src/avr32/up_switchcontext.S index 8ecfbe2cd6b..5cddc17a149 100755 --- a/arch/avr/src/avr32/up_switchcontext.S +++ b/arch/avr/src/avr32/up_switchcontext.S @@ -94,7 +94,7 @@ up_switchcontext: mfsr r10, AVR32_SR sub r12, -4*(REG_LR+1) - /* Then "push" PC=LR, LR, SR, and SP as ther are on entry. */ + /* Then "push" PC=LR, LR, SR, and SP as they are on entry. */ /* xx xx xx xx xx xx xx xx SP SR PC LR xx xx xx xx xx */ /* ^r12 */