summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-12-10 11:54:36 -0500
committerJack Humbert <jack.humb@gmail.com>2017-12-10 11:54:36 -0500
commite6b91549e36f9d9d20f9857c8a081ad1ecfbfff0 (patch)
treeded8dc78f594a09d3eae6a146e17f1262ba16bc9
parent58898f77e311588e15f78d3f6ed829b6010055d9 (diff)
fixes audio/midi combinations
-rw-r--r--quantum/quantum.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index e2280b707e..52f19af98e 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);