diff options
Diffstat (limited to 'firmware/export/config/gigabeats.h')
-rw-r--r-- | firmware/export/config/gigabeats.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/firmware/export/config/gigabeats.h b/firmware/export/config/gigabeats.h index fcfa274314..cf560aa35f 100644 --- a/firmware/export/config/gigabeats.h +++ b/firmware/export/config/gigabeats.h | |||
@@ -190,8 +190,17 @@ | |||
190 | 190 | ||
191 | /* define this if the unit can be powered or charged via USB */ | 191 | /* define this if the unit can be powered or charged via USB */ |
192 | #define HAVE_USB_POWER | 192 | #define HAVE_USB_POWER |
193 | #define USBPOWER_BUTTON BUTTON_MENU | 193 | #define USBPOWER_BUTTON BUTTON_MENU |
194 | #define USBPOWER_BTN_IGNORE BUTTON_POWER | 194 | |
195 | #ifndef BOOTLOADER | ||
196 | #define USBPOWER_BTN_IGNORE BUTTON_POWER | ||
197 | #else | ||
198 | /* Disable charging-only mode detection in bootloader */ | ||
199 | #define USBPOWER_BTN_IGNORE (BUTTON_MAIN | BUTTON_REMOTE) | ||
200 | #endif | ||
201 | |||
202 | /* Button that exposures boot partition rather than data during session */ | ||
203 | #define USB_BL_INSTALL_MODE_BTN BUTTON_VOL_DOWN | ||
195 | 204 | ||
196 | /* define this if the unit has a battery switch or battery can be removed | 205 | /* define this if the unit has a battery switch or battery can be removed |
197 | * when running */ | 206 | * when running */ |