1
0
Fork 0
forked from len0rd/rockbox

iRiver: mpeg_thread now correctly responds to SYS_USB_DISCONNECT

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5911 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2005-02-11 14:34:12 +00:00
parent 6805475fb9
commit 3cac79e68f

View file

@ -1998,6 +1998,9 @@ static void mpeg_thread(void)
/* Tell the USB thread that we are safe */
DEBUGF("mpeg_thread got SYS_USB_CONNECTED\n");
usb_acknowledge(SYS_USB_CONNECTED_ACK);
/* Wait until the USB cable is extracted again */
usb_wait_for_disconnect(&mpeg_queue);
break;
}
}