diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-12-10 17:54:36 +0100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-12-10 17:54:36 +0100 |
commit | e6b91549e36f9d9d20f9857c8a081ad1ecfbfff0 (patch) | |
tree | ded8dc78f594a09d3eae6a146e17f1262ba16bc9 /quantum | |
parent | 58898f77e311588e15f78d3f6ed829b6010055d9 (diff) | |
download | qmk_firmware-e6b91549e36f9d9d20f9857c8a081ad1ecfbfff0.tar.gz qmk_firmware-e6b91549e36f9d9d20f9857c8a081ad1ecfbfff0.tar.xz |
fixes audio/midi combinations
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/quantum.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index e2280b707..52f19af98 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -132,7 +132,10 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { void reset_keyboard(void) { clear_keyboard(); -#if defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_BASIC)) +#if defined(MIDI_ENABLE) && defined(MIDI_BASIC) + process_midi_all_notes_off(); +#endif +#if defined(AUDIO_ENABLE) music_all_notes_off(); uint16_t timer_start = timer_read(); PLAY_SONG(goodbye_song); |