summaryrefslogtreecommitdiff
path: root/firmware/export/usb.h
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2011-05-16 21:10:31 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2011-05-16 21:10:31 +0000
commite8c79d65e18be1eb1ddc8a0e32a04c17dbc73459 (patch)
treea71490f2e6ca03f6c3590f653283aacff860258d /firmware/export/usb.h
parent84b4c46d74d2b757026d425953bf2b033e124016 (diff)
The gigabeat S needs special casing so that you can still hold vol down to access its firmware partition. Additionally, the same logic should apply to firewire on the iPods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29890 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/usb.h')
-rw-r--r--firmware/export/usb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h
index 72315404e3..d4a6550a22 100644
--- a/firmware/export/usb.h
+++ b/firmware/export/usb.h
@@ -64,7 +64,8 @@ enum {
#elif CONFIG_KEYPAD == ONDIO_PAD
#define USBPOWER_BUTTON BUTTON_MENU
#define USBPOWER_BTN_IGNORE BUTTON_OFF
-#else
+/*allow people to define this in config-target.h if they need it*/
+#elif !defined(USBPOWER_BTN_IGNORE)
#define USBPOWER_BTN_IGNORE 0
#endif
#endif