diff options
| author | hathach <[email protected]> | 2026-04-29 15:01:16 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-04-29 15:01:16 +0700 |
| commit | f53a9ec9afee11dbbb57c4561ef3eeeb37e572a6 (patch) | |
| tree | ec061e7c6e53bb113fe25db58c3fa56d72b7d4e1 /examples/device/midi_test/src | |
| parent | d11543a72260c340836aff505104e27cfdc92ccb (diff) | |
| parent | 096977889641be99815e31a12ab352650520e971 (diff) | |
Merge branch 'master' into hil_hfp
Diffstat (limited to 'examples/device/midi_test/src')
| -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 |
