summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-09-24 17:55:15 +0700
committerhathach <[email protected]>2024-09-24 17:55:15 +0700
commita1244381b3e68959f99bc0ba8057eea5ca35bac6 (patch)
tree1e8960c674ddea05cf62862e667eec867b28af47 /src/common
parent86b4608365e66ba250cf4fb52226b0ed02488cc1 (diff)
add CFG_TUD_DWC2_DMA, make it compile time option
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 0a4462a0a..6ead1ea0b 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -524,7 +524,7 @@
#define TUP_DCD_EDPT_ISO_ALLOC
#endif
-#if defined(TUP_USBIP_DWC2)
+#if defined(TUP_USBIP_DWC2) // && CFG_TUD_DWC2_DMA == 0
#define TUP_MEM_CONST_ADDR
#endif