diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/as3525/usb-drv-as3525.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/usb-drv-as3525.c b/firmware/target/arm/as3525/usb-drv-as3525.c index d6b9c1dfea..9e893f41df 100644 --- a/firmware/target/arm/as3525/usb-drv-as3525.c +++ b/firmware/target/arm/as3525/usb-drv-as3525.c @@ -35,6 +35,8 @@ #include "usb_core.h" #include "string.h" +#if defined(USE_ROCKBOX_USB) && CONFIG_USBOTG == USBOTG_AS3525 + #define USB_NUM_EPS 4 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; } + +#endif |