forked from len0rd/rockbox
don't call usb_wait_for_disconnect() in the sd thread. The usb storage driver uses the sd driver, and wants to know about changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16449 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2662f1b3ce
commit
daf3ddc70d
1 changed files with 2 additions and 0 deletions
|
|
@ -1097,7 +1097,9 @@ static void sd_thread(void)
|
|||
case SYS_USB_CONNECTED:
|
||||
usb_acknowledge(SYS_USB_CONNECTED_ACK);
|
||||
/* Wait until the USB cable is extracted again */
|
||||
#ifndef HAVE_USBSTACK
|
||||
usb_wait_for_disconnect(&sd_queue);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue