fixes midi compile error

master
Jack Humbert 2017-12-10 11:32:36 -05:00
parent c2f4c4e29e
commit 58898f77e3
1 changed files with 3 additions and 1 deletions

View File

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