summaryrefslogtreecommitdiff
path: root/examples/dual
diff options
context:
space:
mode:
authorHiFiPHile <[email protected]>2026-05-01 13:58:17 +0200
committerHiFiPHile <[email protected]>2026-05-01 13:58:17 +0200
commit5951d07ad9de9d05127348f110024ac08bf5e676 (patch)
tree99041f629e5c5af07a5020be89b4bb2c3f617ee4 /examples/dual
parent8db6084acac03acc1b98721f78d22587968ed5b2 (diff)
parent939c2f91c200db2bf9874c2e6c50b3530f8a6725 (diff)
Merge remote-tracking branch 'origin/master' into ncm_packet_filter
Diffstat (limited to 'examples/dual')
-rw-r--r--examples/dual/dynamic_switch/src/usb_descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dual/dynamic_switch/src/usb_descriptors.c b/examples/dual/dynamic_switch/src/usb_descriptors.c
index 54ffc2c18..ef6d795b7 100644
--- a/examples/dual/dynamic_switch/src/usb_descriptors.c
+++ b/examples/dual/dynamic_switch/src/usb_descriptors.c
@@ -86,7 +86,7 @@ enum {
#define EPNUM_CDC_OUT 0x02
#define EPNUM_CDC_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_CDC_NOTIF 0x81