diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/usb.h | 1 | ||||
-rw-r--r-- | firmware/usb.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h index 74c4826006..ff85cb99ce 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h | |||
@@ -234,7 +234,6 @@ bool usb_driver_enabled(int driver); | |||
234 | /* returns whether exclusive storage is available for USB */ | 234 | /* returns whether exclusive storage is available for USB */ |
235 | bool usb_exclusive_storage(void); | 235 | bool usb_exclusive_storage(void); |
236 | #endif /* HAVE_USBSTACK */ | 236 | #endif /* HAVE_USBSTACK */ |
237 | int usb_release_exclusive_storage(void); | ||
238 | 237 | ||
239 | #ifdef USB_FIREWIRE_HANDLING | 238 | #ifdef USB_FIREWIRE_HANDLING |
240 | bool firewire_detect(void); | 239 | bool firewire_detect(void); |
diff --git a/firmware/usb.c b/firmware/usb.c index a736f31ca5..e5210efc11 100644 --- a/firmware/usb.c +++ b/firmware/usb.c | |||
@@ -88,6 +88,8 @@ static long usb_last_broadcast_tick = 0; | |||
88 | static bool usb_charging_only = false; | 88 | static bool usb_charging_only = false; |
89 | #endif | 89 | #endif |
90 | 90 | ||
91 | static int usb_release_exclusive_storage(void); | ||
92 | |||
91 | #if defined(USB_FIREWIRE_HANDLING) | 93 | #if defined(USB_FIREWIRE_HANDLING) |
92 | static void try_reboot(void) | 94 | static void try_reboot(void) |
93 | { | 95 | { |