mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31230 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e4bee2b109
commit
8afdad69c7
1 changed files with 1 additions and 1 deletions
|
|
@ -806,7 +806,7 @@ int usb_drv_send(int ep, void *ptr, int len)
|
||||||
usb_drv_transfer(ep, ptr, len, true, true);
|
usb_drv_transfer(ep, ptr, len, true, true);
|
||||||
struct usb_endpoint *endpoint = &endpoints[ep][1];
|
struct usb_endpoint *endpoint = &endpoints[ep][1];
|
||||||
semaphore_wait(&endpoint->complete, TIMEOUT_BLOCK);
|
semaphore_wait(&endpoint->complete, TIMEOUT_BLOCK);
|
||||||
return endpoints->status;
|
return endpoint->status;
|
||||||
}
|
}
|
||||||
|
|
||||||
int usb_drv_send_nonblocking(int ep, void *ptr, int len)
|
int usb_drv_send_nonblocking(int ep, void *ptr, int len)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue