summaryrefslogtreecommitdiff
path: root/firmware/export/config/gigabeats.h
diff options
context:
space:
mode:
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 @@
190 190
191#define FREQ cpu_frequency 191#define FREQ cpu_frequency
192 192
193/* Button that exposures boot partition rather than data during session */
194#define USB_BL_INSTALL_MODE_BTN BUTTON_VOL_DOWN
195
193/* define this if the unit can be powered or charged via USB */ 196/* define this if the unit can be powered or charged via USB */
194#define HAVE_USB_POWER 197#define HAVE_USB_POWER
195#define USBPOWER_BUTTON BUTTON_MENU 198#define USBPOWER_BUTTON BUTTON_MENU
196 199
197#ifndef BOOTLOADER 200#ifndef BOOTLOADER
198#define USBPOWER_BTN_IGNORE BUTTON_POWER 201#define USBPOWER_BTN_IGNORE USB_BL_INSTALL_MODE_BTN
199#else 202#else
200/* Disable charging-only mode detection in bootloader */ 203/* Disable charging-only mode detection in bootloader */
201#define USBPOWER_BTN_IGNORE (BUTTON_MAIN | BUTTON_REMOTE) 204#define USBPOWER_BTN_IGNORE (BUTTON_MAIN | BUTTON_REMOTE)
202#endif 205#endif
203 206
204/* Button that exposures boot partition rather than data during session */
205#define USB_BL_INSTALL_MODE_BTN BUTTON_VOL_DOWN
206
207/* define this if the unit has a battery switch or battery can be removed 207/* define this if the unit has a battery switch or battery can be removed
208 * when running */ 208 * when running */
209#define HAVE_BATTERY_SWITCH 209#define HAVE_BATTERY_SWITCH