mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
Add a 100ms delay before calling disk_mount_all(). Some players (especially some gigabeat Fs) seem to need a delay after disabling USB if we want disk access to work.
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_9@30317 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f16bb13271
commit
ed0198a7c2
1 changed files with 1 additions and 0 deletions
|
@ -331,6 +331,7 @@ static inline void usb_slave_mode(bool on)
|
|||
if(rc)
|
||||
panicf("storage: %d",rc);
|
||||
|
||||
sleep(HZ/10);
|
||||
rc = disk_mount_all();
|
||||
if(rc <= 0) /* no partition */
|
||||
panicf("mount: %d",rc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue