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.
2 parents e615065 + 32489bc commit de51bcfCopy full SHA for de51bcf
src/midi_Defs.h
@@ -214,7 +214,7 @@ struct RPN
214
#define MIDI_CREATE_INSTANCE(Type, SerialPort, Name) \
215
midi::MidiInterface<Type> Name((Type&)SerialPort);
216
217
-#if defined(ARDUINO_SAM_DUE) || defined(USBCON)
+#if defined(ARDUINO_SAM_DUE) || defined(USBCON) || defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MKL26Z64__)
218
// Leonardo, Due and other USB boards use Serial1 by default.
219
#define MIDI_CREATE_DEFAULT_INSTANCE() \
220
MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI);
0 commit comments