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/trunk@30316 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e79fca992c
commit
bf34cdfacb
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…
Reference in a new issue