diff options
| author | Ha Thach <[email protected]> | 2024-08-19 21:42:14 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-19 21:42:14 +0700 |
| commit | 5f519819bad94b1d19364b485c314b412199fba0 (patch) | |
| tree | 1cc0eed20cb8950d7a8b97cfb80a12a3eaf3fb89 /examples/device/dynamic_configuration/src | |
| parent | ca3925a4c5b8958ec6f49818e78ccf35aba59247 (diff) | |
| parent | 0541598d07fd57e4ad0067abe85c4c7a71b3756a (diff) | |
Merge pull request #2767 from hathach/minor-update
Minor update
Diffstat (limited to 'examples/device/dynamic_configuration/src')
| -rw-r--r-- | examples/device/dynamic_configuration/src/usb_descriptors.c | 2 |
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 7be3d7da5..0a2049288 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_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_0_CDC_NOTIF 0x81 |
