summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/src
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-11-03 02:01:40 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-11-03 02:01:40 +0000
commit56055db490d414f38d5ba6fc949279ae4fbc51ba (patch)
tree83f090e9ae5e7e5c0e789fd7121d413c7cc6555d /nuttx/arch/avr/src
parente214005e84e8f42f2a999e09d5db85d5001c1393 (diff)
downloadpx4-nuttx-56055db490d414f38d5ba6fc949279ae4fbc51ba.tar.gz
px4-nuttx-56055db490d414f38d5ba6fc949279ae4fbc51ba.tar.bz2
px4-nuttx-56055db490d414f38d5ba6fc949279ae4fbc51ba.zip
Add NSH configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3072 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/src')
-rw-r--r--nuttx/arch/avr/src/at32uc3/at32uc3_timerisr.c2
-rwxr-xr-xnuttx/arch/avr/src/avr32/up_switchcontext.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/avr/src/at32uc3/at32uc3_timerisr.c b/nuttx/arch/avr/src/at32uc3/at32uc3_timerisr.c
index 655b312e7..aa341c3af 100644
--- a/nuttx/arch/avr/src/at32uc3/at32uc3_timerisr.c
+++ b/nuttx/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/nuttx/arch/avr/src/avr32/up_switchcontext.S b/nuttx/arch/avr/src/avr32/up_switchcontext.S
index 8ecfbe2cd..5cddc17a1 100755
--- a/nuttx/arch/avr/src/avr32/up_switchcontext.S
+++ b/nuttx/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 */