diff options
Diffstat (limited to 'quantum/quantum.c')
| -rw-r--r-- | quantum/quantum.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 807a7084a..5a9e771a9 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
| @@ -98,8 +98,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 98 | 98 | ||
| 99 | void reset_keyboard(void) { | 99 | void reset_keyboard(void) { |
| 100 | clear_keyboard(); | 100 | clear_keyboard(); |
| 101 | #ifdef AUDIO_ENABLE | 101 | #if defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_ENABLE_BASIC)) |
| 102 | stop_all_notes(); | 102 | music_all_notes_off(); |
| 103 | shutdown_user(); | 103 | shutdown_user(); |
| 104 | #endif | 104 | #endif |
| 105 | wait_ms(250); | 105 | wait_ms(250); |
| @@ -153,10 +153,13 @@ bool process_record_quantum(keyrecord_t *record) { | |||
| 153 | 153 | ||
| 154 | if (!( | 154 | if (!( |
| 155 | process_record_kb(keycode, record) && | 155 | process_record_kb(keycode, record) && |
| 156 | #ifdef MIDI_ENABLE | 156 | #if defined(MIDI_ENABLE) && defined(MIDI_ADVANCED) |
| 157 | process_midi(keycode, record) && | 157 | process_midi(keycode, record) && |
| 158 | #endif | 158 | #endif |
| 159 | #ifdef AUDIO_ENABLE | 159 | #ifdef AUDIO_ENABLE |
| 160 | process_audio(keycode, record) && | ||
| 161 | #endif | ||
| 162 | #if defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_BASIC)) | ||
| 160 | process_music(keycode, record) && | 163 | process_music(keycode, record) && |
| 161 | #endif | 164 | #endif |
| 162 | #ifdef TAP_DANCE_ENABLE | 165 | #ifdef TAP_DANCE_ENABLE |
