From fd96300d6ecf59d9289710084e4df31e1582b1ea Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 3 Nov 2010 02:01:40 +0000 Subject: [PATCH] Add NSH configuration git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3072 42af7a65-404d-4744-a932-0658087f49c3 --- arch/avr/src/at32uc3/at32uc3_timerisr.c | 2 +- arch/avr/src/avr32/up_switchcontext.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */