summaryrefslogtreecommitdiff
path: root/examples/device/dynamic_configuration/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-04-29 15:01:16 +0700
committerhathach <[email protected]>2026-04-29 15:01:16 +0700
commitf53a9ec9afee11dbbb57c4561ef3eeeb37e572a6 (patch)
treeec061e7c6e53bb113fe25db58c3fa56d72b7d4e1 /examples/device/dynamic_configuration/src
parentd11543a72260c340836aff505104e27cfdc92ccb (diff)
parent096977889641be99815e31a12ab352650520e971 (diff)
Merge branch 'master' into hil_hfp
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