summaryrefslogtreecommitdiff
path: root/examples/device/cdc_msc/src
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-08-19 21:42:14 +0700
committerGitHub <[email protected]>2024-08-19 21:42:14 +0700
commit5f519819bad94b1d19364b485c314b412199fba0 (patch)
tree1cc0eed20cb8950d7a8b97cfb80a12a3eaf3fb89 /examples/device/cdc_msc/src
parentca3925a4c5b8958ec6f49818e78ccf35aba59247 (diff)
parent0541598d07fd57e4ad0067abe85c4c7a71b3756a (diff)
Merge pull request #2767 from hathach/minor-update
Minor update
Diffstat (limited to 'examples/device/cdc_msc/src')
-rw-r--r--examples/device/cdc_msc/src/usb_descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/cdc_msc/src/usb_descriptors.c b/examples/device/cdc_msc/src/usb_descriptors.c
index 4789f5a9b..4b6b88041 100644
--- a/examples/device/cdc_msc/src/usb_descriptors.c
+++ b/examples/device/cdc_msc/src/usb_descriptors.c
@@ -103,7 +103,7 @@ enum {
#define EPNUM_MSC_OUT 0x05
#define EPNUM_MSC_IN 0x84
-#elif defined(TUD_ENDPOINT_EXCLUSIVE_NUMBER)
+#elif defined(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