summaryrefslogtreecommitdiffstats
path: root/firmware/export/as3525v2.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/as3525v2.h')
-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__ */