mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-09 18:44:31 +00:00
fix incorrect midi descriptor template
This commit is contained in:
parent
58f56fdcd5
commit
64e9c11b41
@ -179,7 +179,7 @@ TU_ATTR_WEAK void tud_resume_cb(void);
|
|||||||
// MIDI simple descriptor
|
// MIDI simple descriptor
|
||||||
// - 1 Embedded Jack In connected to 1 External Jack Out
|
// - 1 Embedded Jack In connected to 1 External Jack Out
|
||||||
// - 1 Embedded Jack out connected to 1 External Jack In
|
// - 1 Embedded Jack out connected to 1 External Jack In
|
||||||
#define TUD_MIDI_DESCRIPTOR(_itfnum, _stridx, _epin, _epout, _epsize) \
|
#define TUD_MIDI_DESCRIPTOR(_itfnum, _stridx, _epout, _epin, _epsize) \
|
||||||
/* Audio Control (AC) Interface */\
|
/* Audio Control (AC) Interface */\
|
||||||
9, TUSB_DESC_INTERFACE, _itfnum, 0, 0, TUSB_CLASS_AUDIO, AUDIO_SUBCLASS_CONTROL, AUDIO_PROTOCOL_V1, _stridx,\
|
9, TUSB_DESC_INTERFACE, _itfnum, 0, 0, TUSB_CLASS_AUDIO, AUDIO_SUBCLASS_CONTROL, AUDIO_PROTOCOL_V1, _stridx,\
|
||||||
/* AC Header */\
|
/* AC Header */\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user