summaryrefslogtreecommitdiff
path: root/examples/dual/dynamic_switch/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-04-28 22:08:28 +0700
committerhathach <[email protected]>2026-04-28 22:08:28 +0700
commit7d556a3ae108fcc43515e1ef2c5ea613ec324551 (patch)
tree5e02238c6b8cad4880b2ba2a9fa9983bc79e4a6e /examples/dual/dynamic_switch/src
parentd3107be360b45c4b8dbc223dcc5e5f57b582c5ff (diff)
parent4a4420cd070f4460f6f5ed3c17011d78c325d7c0 (diff)
Merge branch 'master' into fork/kira-live/master
# Conflicts: # src/device/usbd_control.c
Diffstat (limited to 'examples/dual/dynamic_switch/src')
-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