diff options
| author | hathach <[email protected]> | 2026-04-21 11:26:51 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-04-21 11:26:51 +0700 |
| commit | f9e79844edd9757243c786c9e901cfba3f281b6b (patch) | |
| tree | 357b7529f4b9ad393343b66ba5f92f44ba07ce42 /examples/device/midi_test | |
| parent | da2368bc141c7e76e818df2336ffe672b7927748 (diff) | |
replace `TUD_ENDPOINT_ONE_DIRECTION_ONLY` with `CFG_TUD_ENDPOINT_ONE_DIRECTION_ONLY` for improved configuration consistency across examples and core sources
Diffstat (limited to 'examples/device/midi_test')
| -rw-r--r-- | examples/device/midi_test/src/usb_descriptors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/midi_test/src/usb_descriptors.c b/examples/device/midi_test/src/usb_descriptors.c index e969f33a3..99c798ce1 100644 --- a/examples/device/midi_test/src/usb_descriptors.c +++ b/examples/device/midi_test/src/usb_descriptors.c @@ -87,7 +87,7 @@ enum { #define EPNUM_MIDI_OUT 0x02 #define EPNUM_MIDI_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_MIDI_OUT 0x01 |
