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:
Frank Gevaerts 2008-02-28 22:51:39 +00:00
parent 14e21b207e
commit 1dc9de9432

View file

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