summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-18 15:49:59 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-18 15:49:59 +0000
commitde29a1f8a94095e066f7dc2d568abbbf9f1012df (patch)
treefd7ac5ff502712b1d6186f2a4ff5bd7638f61e57 /nuttx/arch/avr
parentfe368e772ce7195b9f751b78febc236527797fb5 (diff)
downloadpx4-nuttx-de29a1f8a94095e066f7dc2d568abbbf9f1012df.tar.gz
px4-nuttx-de29a1f8a94095e066f7dc2d568abbbf9f1012df.tar.bz2
px4-nuttx-de29a1f8a94095e066f7dc2d568abbbf9f1012df.zip
Update documents and comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3723 42af7a65-404d-4744-a932-0658087f49c3
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