summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-08-27 23:45:34 +0700
committerhathach <[email protected]>2023-08-27 23:45:34 +0700
commit502b1bdda62f0f207d9a51daf134574e455f3aa2 (patch)
treef93c491346f05d14c841035e511186bae531a13b /src/common
parentcd7464a8847db5efa14f568bdf8746d898fc7eb4 (diff)
more update to transaction
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index 35f94efbc..21939df7c 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -385,6 +385,18 @@
#define TUP_RHPORT_HIGHSPEED 1
#endif
+
+//--------------------------------------------------------------------+
+// External USB controller
+//--------------------------------------------------------------------+
+
+#if defined(CFG_TUH_MAX3421) & CFG_TUH_MAX3421
+ #ifndef CFG_TUH_MAX3421_ENDPOINT_TOTAL
+ #define CFG_TUH_MAX3421_ENDPOINT_TOTAL (8 + 4*(CFG_TUH_DEVICE_MAX-1))
+ #endif
+#endif
+
+
//--------------------------------------------------------------------+
// Default Values
//--------------------------------------------------------------------+