diff options
Diffstat (limited to 'firmware/export/usb_core.h')
-rw-r--r-- | firmware/export/usb_core.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/usb_core.h b/firmware/export/usb_core.h index a1701bc3f8..fd55ac8782 100644 --- a/firmware/export/usb_core.h +++ b/firmware/export/usb_core.h | |||
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | #ifndef BOOTLOADER | 22 | #ifndef BOOTLOADER |
23 | 23 | ||
24 | //#define USB_SERIAL | 24 | #define USB_SERIAL |
25 | #define USB_STORAGE | 25 | #define USB_STORAGE |
26 | #define USB_CHARGING_ONLY | 26 | #define USB_CHARGING_ONLY |
27 | #else /* BOOTLOADER */ | 27 | #else /* BOOTLOADER */ |
@@ -47,5 +47,8 @@ void usb_core_enable_driver(int driver,bool enabled); | |||
47 | bool usb_core_driver_enabled (int driver); | 47 | bool usb_core_driver_enabled (int driver); |
48 | void usb_core_handle_transfer_completion( | 48 | void usb_core_handle_transfer_completion( |
49 | struct usb_transfer_completion_event_data* event); | 49 | struct usb_transfer_completion_event_data* event); |
50 | #ifdef HAVE_HOTSWAP | ||
51 | void usb_core_hotswap_event(int volume,bool inserted); | ||
52 | #endif | ||
50 | #endif | 53 | #endif |
51 | 54 | ||