forked from len0rd/rockbox
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
This commit is contained in:
parent
30a2713b6e
commit
871db6f5d9
3 changed files with 54 additions and 13 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue