Browse Source

fixes audio/midi combinations

Jack Humbert 7 years ago
parent
commit
e6b91549e3
1 changed files with 4 additions and 1 deletions
  1. 4 1
      quantum/quantum.c

+ 4 - 1
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);