fixes midi compile error

This commit is contained in:
Jack Humbert 2017-12-10 11:32:36 -05:00
parent c2f4c4e29e
commit 58898f77e3

View file

@ -279,7 +279,9 @@ void midi_on(void) {
}
void midi_off(void) {
process_midi_all_notes_off();
#if defined(MIDI_ENABLE) && defined(MIDI_BASIC)
process_midi_all_notes_off();
#endif
midi_activated = 0;
#ifdef AUDIO_ENABLE
PLAY_SONG(midi_off_song);