summaryrefslogtreecommitdiffstats
path: root/firmware/export/config/gigabeats.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/config/gigabeats.h
parent84b4c46d74d2b757026d425953bf2b033e124016 (diff)
downloadrockbox-e8c79d65e18be1eb1ddc8a0e32a04c17dbc73459.tar.gz
rockbox-e8c79d65e18be1eb1ddc8a0e32a04c17dbc73459.tar.bz2
rockbox-e8c79d65e18be1eb1ddc8a0e32a04c17dbc73459.zip
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/config/gigabeats.h')
-rw-r--r--firmware/export/config/gigabeats.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/export/config/gigabeats.h b/firmware/export/config/gigabeats.h
index 2f1d241701..dbeff4aa04 100644
--- a/firmware/export/config/gigabeats.h
+++ b/firmware/export/config/gigabeats.h
@@ -190,20 +190,20 @@
#define FREQ cpu_frequency
+/* Button that exposures boot partition rather than data during session */
+#define USB_BL_INSTALL_MODE_BTN BUTTON_VOL_DOWN
+
/* define this if the unit can be powered or charged via USB */
#define HAVE_USB_POWER
#define USBPOWER_BUTTON BUTTON_MENU
#ifndef BOOTLOADER
-#define USBPOWER_BTN_IGNORE BUTTON_POWER
+#define USBPOWER_BTN_IGNORE USB_BL_INSTALL_MODE_BTN
#else
/* Disable charging-only mode detection in bootloader */
#define USBPOWER_BTN_IGNORE (BUTTON_MAIN | BUTTON_REMOTE)
#endif
-/* Button that exposures boot partition rather than data during session */
-#define USB_BL_INSTALL_MODE_BTN BUTTON_VOL_DOWN
-
/* define this if the unit has a battery switch or battery can be removed
* when running */
#define HAVE_BATTERY_SWITCH