summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorMarc Guay <marcguay@rockbox.org>2008-07-04 18:12:01 +0000
committerMarc Guay <marcguay@rockbox.org>2008-07-04 18:12:01 +0000
commita5f99f2a51d9064fe86a68bfb634d1898f761ee7 (patch)
tree6e98dc39aff6a63a2301b4e8d97090126e793eaa /firmware/export
parent33d8bb15e28b1a2ef0d4ae3a8bf305230c913182 (diff)
Bring the H300 charging-only button in line with the other targets. Hold the AB button on connect for this feature. To discuss a greater reworking of the function, see FS#8702.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17940 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h
index 04cb3ea43b..9952a074bb 100644
--- a/firmware/export/usb.h
+++ b/firmware/export/usb.h
@@ -49,7 +49,7 @@ enum {
#define USBPOWER_BUTTON BUTTON_MENU
#define USBPOWER_BTN_IGNORE BUTTON_PLAY
#elif CONFIG_KEYPAD == IRIVER_H300_PAD
-#define USBPOWER_BUTTON BUTTON_REC
+#define USBPOWER_BUTTON BUTTON_MODE
#define USBPOWER_BTN_IGNORE BUTTON_ON
#elif CONFIG_KEYPAD == GIGABEAT_PAD
#define USBPOWER_BUTTON BUTTON_MENU