diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/usb.h | 2 | ||||
-rw-r--r-- | firmware/export/usb_core.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h index 4dae7c2e68..a80dd82667 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h | |||
@@ -30,6 +30,7 @@ enum { | |||
30 | USB_POWERED, | 30 | USB_POWERED, |
31 | USB_TRANSFER_COMPLETION, | 31 | USB_TRANSFER_COMPLETION, |
32 | USB_REQUEST_DISK, | 32 | USB_REQUEST_DISK, |
33 | USB_RELEASE_DISK, | ||
33 | USB_REQUEST_REBOOT | 34 | USB_REQUEST_REBOOT |
34 | }; | 35 | }; |
35 | 36 | ||
@@ -105,6 +106,7 @@ void usb_signal_transfer_completion(struct usb_transfer_completion_event_data* e | |||
105 | bool usb_driver_enabled(int driver); | 106 | bool usb_driver_enabled(int driver); |
106 | bool usb_exclusive_ata(void); /* ata is available for usb */ | 107 | bool usb_exclusive_ata(void); /* ata is available for usb */ |
107 | void usb_request_exclusive_ata(void); | 108 | void usb_request_exclusive_ata(void); |
109 | void usb_release_exclusive_ata(void); | ||
108 | #endif | 110 | #endif |
109 | 111 | ||
110 | #if defined(IPOD_COLOR) || defined(IPOD_4G) \ | 112 | #if defined(IPOD_COLOR) || defined(IPOD_4G) \ |
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 | ||