From 237d9666ccd5d35db920df640e493ceec8962aaa Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Wed, 23 Jun 2010 22:03:31 +0000 Subject: as3525v2-usb: define number of enpoints correctly, write interrupt handler git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27098 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/as3525v2.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'firmware/export') diff --git a/firmware/export/as3525v2.h b/firmware/export/as3525v2.h index d7c188cea8..4b719a905a 100644 --- a/firmware/export/as3525v2.h +++ b/firmware/export/as3525v2.h @@ -34,4 +34,10 @@ #define CGU_SDSLOT (*(volatile unsigned long *)(CGU_BASE + 0x3C)) +#ifdef USB_NUM_ENDPOINTS +#undef USB_NUM_ENDPOINTS +#endif + +#define USB_NUM_ENDPOINTS 6 + #endif /* __AS3525V2_H__ */ -- cgit v1.2.3