fixes midi compile error
This commit is contained in:
parent
c2f4c4e29e
commit
58898f77e3
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue