mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
And don't forget the return values...
Note to self: Next time don't forget to check a AMSv2 build before committing... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26130 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e36cfed9bf
commit
3bb2afc741
1 changed files with 8 additions and 0 deletions
|
|
@ -985,6 +985,8 @@ int usb_drv_request_endpoint(int type, int dir)
|
|||
{
|
||||
(void)type;
|
||||
(void)dir;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
void usb_drv_release_endpoint(int ep)
|
||||
|
|
@ -1017,6 +1019,8 @@ int usb_drv_recv(int ep, void *ptr, int len)
|
|||
(void)ep;
|
||||
(void)ptr;
|
||||
(void)len;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
int usb_drv_send(int ep, void *ptr, int len)
|
||||
|
|
@ -1024,6 +1028,8 @@ int usb_drv_send(int ep, void *ptr, int len)
|
|||
(void)ep;
|
||||
(void)ptr;
|
||||
(void)len;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
int usb_drv_send_nonblocking(int ep, void *ptr, int len)
|
||||
|
|
@ -1031,6 +1037,8 @@ int usb_drv_send_nonblocking(int ep, void *ptr, int len)
|
|||
(void)ep;
|
||||
(void)ptr;
|
||||
(void)len;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
void usb_drv_stall(int ep, bool stall, bool in)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue