summaryrefslogtreecommitdiff
path: root/firmware/export/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/usb.h')
-rw-r--r--firmware/export/usb.h7
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