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.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h
index 67793729c6..4dae7c2e68 100644
--- a/firmware/export/usb.h
+++ b/firmware/export/usb.h
@@ -24,13 +24,13 @@
24 24
25/* Messages from usb_tick and thread states */ 25/* Messages from usb_tick and thread states */
26enum { 26enum {
27 USB_INSERTED, 27 USB_INSERTED,
28 USB_EXTRACTED, 28 USB_EXTRACTED,
29 USB_REENABLE, 29 USB_REENABLE,
30 USB_POWERED, 30 USB_POWERED,
31 USB_TRANSFER_COMPLETION, 31 USB_TRANSFER_COMPLETION,
32 USB_REQUEST_DISK, 32 USB_REQUEST_DISK,
33 USB_REQUEST_REBOOT 33 USB_REQUEST_REBOOT
34}; 34};
35 35
36 36
@@ -69,7 +69,8 @@ enum {
69enum { 69enum {
70 USB_DRIVER_MASS_STORAGE, 70 USB_DRIVER_MASS_STORAGE,
71 USB_DRIVER_SERIAL, 71 USB_DRIVER_SERIAL,
72 USB_DRIVER_CHARGING_ONLY 72 USB_DRIVER_CHARGING_ONLY,
73 USB_NUM_DRIVERS
73}; 74};
74#endif 75#endif
75#ifdef HAVE_USBSTACK 76#ifdef HAVE_USBSTACK