summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s5l8700
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-07-11 22:34:56 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-07-11 22:34:56 +0000
commit47d857981a006518f34082d9a040b5146f571ca9 (patch)
treec876815ef4eb242a04ec475c119ab04475494643 /firmware/target/arm/s5l8700
parent471a0eb1f32c5b679648c8f2b366703bb07c11e4 (diff)
S5L8700: fix buttons used in debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21792 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8700')
-rw-r--r--firmware/target/arm/s5l8700/debug-s5l8700.c2
-rw-r--r--firmware/target/arm/s5l8700/debug-target.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/s5l8700/debug-s5l8700.c b/firmware/target/arm/s5l8700/debug-s5l8700.c
index 04d2b05021..7f2930add7 100644
--- a/firmware/target/arm/s5l8700/debug-s5l8700.c
+++ b/firmware/target/arm/s5l8700/debug-s5l8700.c
@@ -58,7 +58,7 @@ bool __dbg_hw_info(void)
int btn = button_get_w_tmo(HZ/10);
if(btn == (DEBUG_CANCEL|BUTTON_REL))
goto end;
- else if(btn == (BUTTON_DOWN|BUTTON_REL))
+ else if(btn == (BUTTON_PLAY|BUTTON_REL))
break;
}
}
diff --git a/firmware/target/arm/s5l8700/debug-target.h b/firmware/target/arm/s5l8700/debug-target.h
index 7f10211f2f..f4a0247cc4 100644
--- a/firmware/target/arm/s5l8700/debug-target.h
+++ b/firmware/target/arm/s5l8700/debug-target.h
@@ -24,7 +24,7 @@
#include <stdbool.h>
-#define DEBUG_CANCEL BUTTON_LEFT
+#define DEBUG_CANCEL BUTTON_MENU
bool __dbg_hw_info(void);
bool __dbg_ports(void);