Skip to content

Commit e8d506c

Browse files
authored
feat(usb): changes the MIDI device descriptor in the example
1 parent 87819f6 commit e8d506c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libraries/USB/examples/MIDI/MidiInterface/MidiInterface.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ void loop() {}
2626

2727
#include "USB.h"
2828
#include "USBMIDI.h"
29-
USBMIDI MIDI;
29+
// Create the MIDI device with specific descriptor
30+
USBMIDI MIDI("ESP MIDI Device");
31+
3032

3133
#define MIDI_RX 39
3234
#define MIDI_TX 40

0 commit comments

Comments
 (0)