diff options
-rw-r--r-- | apps/examples/touchscreen/tc_main.c | 2 | ||||
-rw-r--r-- | nuttx/arch/mips/src/pic32mx/pic32mx-decodeirq.c | 2 |
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 |