forked from len0rd/rockbox
Add a disconnect handler for usb storage. It doesn't do anything yet, but it will apparently be needed to reset the audio buffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19418 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e2b69ddffb
commit
19dfe330a1
3 changed files with 7 additions and 1 deletions
|
|
@ -418,6 +418,11 @@ void usb_storage_init_connection(void)
|
|||
usb_drv_recv(ep_out, tb.transfer_buffer, 1024);
|
||||
}
|
||||
|
||||
void usb_storage_disconnect(void)
|
||||
{
|
||||
/* Empty for now */
|
||||
}
|
||||
|
||||
/* called by usb_core_transfer_complete() */
|
||||
void usb_storage_transfer_complete(int ep,int dir,int status,int length)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue