Skip to content

Commit 40fbd4f

Browse files
authored
fix(usb_midi): reduce changes to the code
1 parent c930bc1 commit 40fbd4f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ SET_USB_MIDI_DEVICE_NAME("ESP MIDI Device")
2929

3030
#include "USB.h"
3131
#include "USBMIDI.h"
32-
// Creates the MIDI device with specific descriptor
33-
USBMIDI MIDI();
34-
32+
// Creates the MIDI device with specific name defined with the SET_USB_MIDI_DEVICE_NAME() macro
33+
USBMIDI MIDI;
3534

3635
#define MIDI_RX 39
3736
#define MIDI_TX 40

0 commit comments

Comments
 (0)