diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-11-16 11:32:12 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-11-16 17:11:38 +0000 |
commit | 9c68c69cf029b22587f4a7225261a45e5391a242 (patch) | |
tree | 378ca94924c6448a521a73f139e211d1e80730f4 /firmware/export | |
parent | 525252393718a74dd38895a1a945fa4cbf223bbd (diff) | |
download | rockbox-9c68c69cf029b22587f4a7225261a45e5391a242.tar.gz rockbox-9c68c69cf029b22587f4a7225261a45e5391a242.zip |
FS13257: Fix inconsistent defaults in the USB mode selection
Change-Id: I44894d13f070313ad326ce68018556573e35aad9
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/usb.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h index edc37bd5b6..2bcd95ef81 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h | |||
@@ -145,6 +145,13 @@ enum | |||
145 | #if !defined(USBPOWER_BTN_IGNORE) | 145 | #if !defined(USBPOWER_BTN_IGNORE) |
146 | #define USBPOWER_BTN_IGNORE 0 | 146 | #define USBPOWER_BTN_IGNORE 0 |
147 | #endif | 147 | #endif |
148 | |||
149 | #if defined(BOOTLOADER) | ||
150 | #define USBMODE_DEFAULT USB_MODE_MASS_STORAGE | ||
151 | #else | ||
152 | #define USBMODE_DEFAULT USB_MODE_MASS_STORAGE | ||
153 | #endif | ||
154 | |||
148 | #endif | 155 | #endif |
149 | 156 | ||
150 | #ifdef HAVE_USBSTACK | 157 | #ifdef HAVE_USBSTACK |