summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2010-06-23 22:03:31 +0000
committerAmaury Pouly <pamaury@rockbox.org>2010-06-23 22:03:31 +0000
commit237d9666ccd5d35db920df640e493ceec8962aaa (patch)
treefda1100af5181f9d71927070c24a5a3383c04680 /firmware/export
parent58ad1e7c4b7e404d0bcda752914e2878c68feafd (diff)
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
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/as3525v2.h6
1 files changed, 6 insertions, 0 deletions
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__ */