|
|
@ -108,7 +108,7 @@ void handle_generic(byte inChannel, byte inData1, byte inData2, const char *midi |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
#ifdef DEBUG |
|
|
|
#ifdef DEBUG |
|
|
|
Serial.printf("[%s] %s", midi_device, text); |
|
|
|
Serial.printf_P(PSTR("[%s] %s"), midi_device, text); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// MIDI THRU
|
|
|
|
// MIDI THRU
|
|
|
@ -222,7 +222,7 @@ void handle_generic(byte inChannel, byte inData1, byte inData2, const char *midi |
|
|
|
void handleSystemExclusive_generic(byte *data, uint len, const char *midi_device) { |
|
|
|
void handleSystemExclusive_generic(byte *data, uint len, const char *midi_device) { |
|
|
|
handleSystemExclusive(data, len); |
|
|
|
handleSystemExclusive(data, len); |
|
|
|
#ifdef DEBUG |
|
|
|
#ifdef DEBUG |
|
|
|
Serial.printf("[%s] SysEx", midi_device); |
|
|
|
Serial.printf_P(PSTR("[%s] SysEx"), midi_device); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// MIDI THRU
|
|
|
|
// MIDI THRU
|
|
|
@ -282,7 +282,7 @@ void handleSystemCommon_generic(byte inData1, const char *midi_device, midi::Mid |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
#ifdef DEBUG |
|
|
|
#ifdef DEBUG |
|
|
|
Serial.printf("[%s] %s", midi_device, text); |
|
|
|
Serial.printf_P(PSTR("[%s] %s"), midi_device, text); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// MIDI THRU
|
|
|
|
// MIDI THRU
|
|
|
@ -390,7 +390,7 @@ void handleRealtime_generic(const char *midi_device, midi::MidiType event) |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
#ifdef DEBUG |
|
|
|
#ifdef DEBUG |
|
|
|
Serial.printf("[%s] %s", midi_device, text); |
|
|
|
Serial.printf_P(PSTR("[%s] %s"), midi_device, text); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// MIDI THRU
|
|
|
|
// MIDI THRU
|
|
|
|