diff options
| author | hathach <[email protected]> | 2019-07-09 10:40:14 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-07-09 10:40:14 +0700 |
| commit | 64e9c11b411a2e077f3fa6826b867295ebb263c4 (patch) | |
| tree | 1e9c5251f233e3f0078d80eb33c96eb389a41777 | |
| parent | 58f56fdcd54f3142425c32a6cbfd2bd83bfb6c1a (diff) | |
fix incorrect midi descriptor template
| -rw-r--r-- | src/device/usbd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h index bb9c62f2f..8eee20c0a 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -179,7 +179,7 @@ TU_ATTR_WEAK void tud_resume_cb(void); // MIDI simple descriptor
// - 1 Embedded Jack In connected to 1 External Jack Out
// - 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 */\
9, TUSB_DESC_INTERFACE, _itfnum, 0, 0, TUSB_CLASS_AUDIO, AUDIO_SUBCLASS_CONTROL, AUDIO_PROTOCOL_V1, _stridx,\
/* AC Header */\
|
