summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-11-25 12:37:54 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-11-25 12:37:54 +0000
commitd149715d15cf45b616fd5433907a721e36f810d6 (patch)
treef5af4e37999762d26e2304ecbc63e4f2d5e84088
parentc4bb5210280f599935b85afdf6d8457a5ac5eea4 (diff)
downloadnuttx-d149715d15cf45b616fd5433907a721e36f810d6.tar.gz
nuttx-d149715d15cf45b616fd5433907a721e36f810d6.tar.bz2
nuttx-d149715d15cf45b616fd5433907a721e36f810d6.zip
Fix PIC32 error in last check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4125 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--apps/examples/touchscreen/tc_main.c2
-rw-r--r--nuttx/arch/mips/src/pic32mx/pic32mx-decodeirq.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/touchscreen/tc_main.c b/apps/examples/touchscreen/tc_main.c
index 2d8fca033..6db6af992 100644
--- a/apps/examples/touchscreen/tc_main.c
+++ b/apps/examples/touchscreen/tc_main.c
@@ -131,7 +131,7 @@ int MAIN_NAME(int argc, char *argv[])
goto errout;
}
- /* Open the framebuffer device for reading */
+ /* Open the touchscreen device for reading */
fd = open(CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH, O_RDONLY);
if (fd < 0)
diff --git a/nuttx/arch/mips/src/pic32mx/pic32mx-decodeirq.c b/nuttx/arch/mips/src/pic32mx/pic32mx-decodeirq.c
index de7c9ab7a..d75657034 100644
--- a/nuttx/arch/mips/src/pic32mx/pic32mx-decodeirq.c
+++ b/nuttx/arch/mips/src/pic32mx/pic32mx-decodeirq.c
@@ -158,7 +158,7 @@ uint32_t *pic32mx_decodeirq(uint32_t *regs)
up_ledoff(LED_INIRQ);
}
#else
- current_regs = savestate;
+ current_regs = NULL;
up_ledoff(LED_INIRQ);
#endif