forked from len0rd/rockbox
Obviously this should not be built on AS353x...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26128 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4a8c05e92f
commit
ecdbab95f4
1 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,8 @@
|
||||||
#include "usb_core.h"
|
#include "usb_core.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
|
|
||||||
|
#if defined(USE_ROCKBOX_USB) && CONFIG_USBOTG == USBOTG_AS3525
|
||||||
|
|
||||||
#define USB_NUM_EPS 4
|
#define USB_NUM_EPS 4
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -959,3 +961,5 @@ bool usb_drv_stalled(int ep, bool in)
|
||||||
{
|
{
|
||||||
return USB_EP_CTRL(ep, in) & USB_EP_CTRL_STALL ? true : false;
|
return USB_EP_CTRL(ep, in) & USB_EP_CTRL_STALL ? true : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue