We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b937f68 commit cf3f2bbCopy full SHA for cf3f2bb
src/MIDIUSB.cpp
@@ -83,6 +83,12 @@ int MIDI_GetDescriptor(int8_t t)
83
return 0;
84
}
85
86
+char* MIDI_GetShortName()
87
+{
88
+ static char* name = "MI";
89
+ return name;
90
+}
91
+
92
void MIDI_::accept(void)
93
{
94
ring_bufferMIDI *buffer = &midi_rx_buffer;
@@ -194,6 +200,7 @@ MIDI_::MIDI_(void)
194
200
.setup = &MIDI_Setup,
195
201
.getInterface = &MIDI_GetInterface,
196
202
.getDescriptor = &MIDI_GetDescriptor,
203
+ .getShortName = &MIDI_GetShortName,
197
204
.numEndpoints = 2,
198
205
.numInterfaces = 2,
199
206
.endpointType = endpointType,
0 commit comments