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); /* returns whether exclusive storage is available for USB */ bool usb_exclusive_storage(void); #endif /* HAVE_USBSTACK */ -int usb_release_exclusive_storage(void); #ifdef USB_FIREWIRE_HANDLING 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; static bool usb_charging_only = false; #endif +static int usb_release_exclusive_storage(void); + #if defined(USB_FIREWIRE_HANDLING) static void try_reboot(void) {