acknowledge USB disconnect. This wasn't always done anymore since the usb_wait_for_disconnect() is gone.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16452 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
14e21b207e
commit
1dc9de9432
1 changed files with 3 additions and 0 deletions
|
@ -1101,6 +1101,9 @@ static void sd_thread(void)
|
|||
usb_wait_for_disconnect(&sd_queue);
|
||||
#endif
|
||||
break;
|
||||
case SYS_USB_DISCONNECTED:
|
||||
usb_acknowledge(SYS_USB_DISCONNECTED_ACK);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue