summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2012-01-24 12:27:06 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2012-01-24 12:27:06 +0100
commitdc85718bfda7c6009922a0c10ca9fe64f75faf2c (patch)
tree77205a7b913b6cdace330893d9784d3af728c5c5 /firmware/target/coldfire
parente94d1b0ab0042b71a4e0c7609b412185c53dcded (diff)
downloadrockbox-dc85718bfda7c6009922a0c10ca9fe64f75faf2c.tar.gz
rockbox-dc85718bfda7c6009922a0c10ca9fe64f75faf2c.zip
MPIO HD300: Use MENU button to go back from debug screens.
Change-Id: I17c0f573de75ab1fd0119d148337e45552eb04b0
Diffstat (limited to 'firmware/target/coldfire')
-rw-r--r--firmware/target/coldfire/debug-coldfire.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/target/coldfire/debug-coldfire.c b/firmware/target/coldfire/debug-coldfire.c
index d46dba7bbd..acc2c411eb 100644
--- a/firmware/target/coldfire/debug-coldfire.c
+++ b/firmware/target/coldfire/debug-coldfire.c
@@ -42,9 +42,11 @@
#elif (CONFIG_KEYPAD == IAUDIO_M3_PAD)
# define DEBUG_CANCEL BUTTON_RC_REC
-#elif (CONFIG_KEYPAD == MPIO_HD200_PAD) || \
- (CONFIG_KEYPAD == MPIO_HD300_PAD)
+#elif (CONFIG_KEYPAD == MPIO_HD200_PAD)
# define DEBUG_CANCEL BUTTON_REC
+
+#elif (CONFIG_KEYPAD == MPIO_HD300_PAD)
+# define DEBUG_CANCEL BUTTON_MENU
#endif
/* Tool function to read the flash manufacturer and type, if available.
Only chips which could be reprogrammed in system will return values.