summaryrefslogtreecommitdiff
path: root/examples/device/dynamic_configuration/src
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2026-04-28 22:02:31 +0700
committerGitHub <[email protected]>2026-04-28 22:02:31 +0700
commit4a4420cd070f4460f6f5ed3c17011d78c325d7c0 (patch)
tree7595327abe8468e63eb470bf73a4531fb1c87495 /examples/device/dynamic_configuration/src
parent4c7fd70e53b34bf63ef9334f2b5624cac48299f1 (diff)
parentf2654a675b67b0b83337dd4df13afd498c3a0809 (diff)
Merge pull request #3605 from hathach/musb-followup-3594
Enhance dcd musb, double packet, refactor EP0, fix DATAEND race with EP0
Diffstat (limited to 'examples/device/dynamic_configuration/src')
-rw-r--r--examples/device/dynamic_configuration/src/usb_descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/dynamic_configuration/src/usb_descriptors.c b/examples/device/dynamic_configuration/src/usb_descriptors.c
index 458b7c2a5..c4049414f 100644
--- a/examples/device/dynamic_configuration/src/usb_descriptors.c
+++ b/examples/device/dynamic_configuration/src/usb_descriptors.c
@@ -132,7 +132,7 @@ enum
#define EPNUM_1_MSC_OUT 0x02
#define EPNUM_1_MSC_IN 0x82
-#elif defined(TUD_ENDPOINT_ONE_DIRECTION_ONLY)
+#elif CFG_TUD_ENDPOINT_ONE_DIRECTION_ONLY
// MCUs that don't support a same endpoint number with different direction IN and OUT defined in tusb_mcu.h
// e.g EP1 OUT & EP1 IN cannot exist together
#define EPNUM_0_CDC_NOTIF 0x81