From 871db6f5d997e9fffe4fe951e708e42ac77cc181 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Sun, 8 Mar 2009 18:45:19 +0000 Subject: Allow the user to leave MSC mode by pressing the USB POWER button (the one that's used to go to usb power mode on plugin) when the host OS hasn't locked the device. This only works for devices that expose a removable device, so for now the gigabeat S is out of luck. (slightly modified from FS#9993) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20244 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/usb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/export/usb.h') diff --git a/firmware/export/usb.h b/firmware/export/usb.h index ecbec3a914..be36ee0b31 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h @@ -131,6 +131,7 @@ bool usb_charging_enabled(void); void usb_signal_transfer_completion(struct usb_transfer_completion_event_data* event_data); bool usb_driver_enabled(int driver); bool usb_exclusive_storage(void); /* storage is available for usb */ +void usb_storage_try_release_storage(void); #endif int usb_release_exclusive_storage(void); -- cgit v1.2.3