From e6b91549e36f9d9d20f9857c8a081ad1ecfbfff0 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Sun, 10 Dec 2017 11:54:36 -0500 Subject: fixes audio/midi combinations --- quantum/quantum.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'quantum') 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); -- cgit v1.2.3-24-g4f1b