summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-07-09 10:40:14 +0700
committerhathach <[email protected]>2019-07-09 10:40:14 +0700
commit64e9c11b411a2e077f3fa6826b867295ebb263c4 (patch)
tree1e9c5251f233e3f0078d80eb33c96eb389a41777 /src/device
parent58f56fdcd54f3142425c32a6cbfd2bd83bfb6c1a (diff)
fix incorrect midi descriptor template
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.h2
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 */\