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:
Frank Gevaerts 2011-08-15 14:38:44 +00:00
parent f16bb13271
commit ed0198a7c2

View file

@ -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);