forked from len0rd/rockbox
properly remount the filesystem after usb disconnect with software usb
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18323 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0d49141637
commit
b3bebc73d5
1 changed files with 3 additions and 0 deletions
|
@ -324,6 +324,9 @@ static void usb_thread(void)
|
|||
#ifdef HAVE_USBSTACK
|
||||
if(exclusive_ata_access)
|
||||
{
|
||||
int rc = disk_mount_all();
|
||||
if (rc <= 0) /* no partition */
|
||||
panicf("mount: %d",rc);
|
||||
exclusive_ata_access = false;
|
||||
#endif
|
||||
/* Tell all threads that we are back in business */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue