diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-12-10 11:32:36 -0500 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-12-10 11:32:36 -0500 |
commit | 58898f77e311588e15f78d3f6ed829b6010055d9 (patch) | |
tree | 107543b031ec8efa39a82d28a7a21e33e053c97a /quantum | |
parent | c2f4c4e29ec74edb0a4a1647fc0d6ab084a2dc0d (diff) | |
download | qmk_firmware-58898f77e311588e15f78d3f6ed829b6010055d9.tar.gz qmk_firmware-58898f77e311588e15f78d3f6ed829b6010055d9.zip |
fixes midi compile error
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/process_keycode/process_music.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_music.c b/quantum/process_keycode/process_music.c index f69d13ff58..c7f41cc388 100644 --- a/quantum/process_keycode/process_music.c +++ b/quantum/process_keycode/process_music.c @@ -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); |