summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-04-25 20:41:44 +0700
committerhathach <[email protected]>2024-04-25 20:41:44 +0700
commit03ccc8d8dfe21fc158fc5eb8a4f3f90f425f8a3b (patch)
treed0e6697c54f12c20c90c9418dd0809cfb3876f9d /src/common
parent2e995d7cf4b2971e3ca7167a097b99832c8d61ce (diff)
revert a change in tusb_mcu
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index 2c4d7461d..00526bdba 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -429,7 +429,7 @@
#define TUP_MCU_MULTIPLE_CORE 0
#endif
-#if CFG_TUD_ENABLED && !defined(TUP_DCD_ENDPOINT_MAX)
+#if !defined(TUP_DCD_ENDPOINT_MAX)
#warning "TUP_DCD_ENDPOINT_MAX is not defined for this MCU, default to 8"
#define TUP_DCD_ENDPOINT_MAX 8
#endif