Skip to content

Commit 36ac341

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/USB/examples/MIDI/MidiController/MidiController.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ void loop() {}
2020

2121
#include "USB.h"
2222
#include "USBMIDI.h"
23-
USBMIDI MIDI;
23+
// Create the MIDI device with specific descriptor
24+
USBMIDI MIDI("ESP MIDI Device");
2425

2526
#define MIDI_NOTE_C4 60
2627

0 commit comments

Comments
 (0)