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