diff options
| author | Zixun LI <[email protected]> | 2026-05-07 11:18:19 +0200 |
|---|---|---|
| committer | Zixun LI <[email protected]> | 2026-05-07 11:18:19 +0200 |
| commit | 89c7075cdf8e72c6732496453f25fdc7ea82814b (patch) | |
| tree | f1363e85ea47d8cfb1b9b67df55be365ac6f737e /examples/device/mtp/src | |
| parent | e557f94c721871246ee7ac0761d74e5f8794300f (diff) | |
| parent | 9b1b781c3efb778d7e631d41e44d36c8ee435906 (diff) | |
Merge remote-tracking branch 'tinyusb/master' into midi-host-rx-bufsize-default-and-docs
Diffstat (limited to 'examples/device/mtp/src')
| -rw-r--r-- | examples/device/mtp/src/usb_descriptors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/mtp/src/usb_descriptors.c b/examples/device/mtp/src/usb_descriptors.c index f0aa3de6b..4c840560e 100644 --- a/examples/device/mtp/src/usb_descriptors.c +++ b/examples/device/mtp/src/usb_descriptors.c @@ -94,7 +94,7 @@ enum #define EPNUM_MTP_OUT 0x02 #define EPNUM_MTP_IN 0x81 -#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_MTP_EVT 0x81 |
