HCoop
/
jackhill
/
qmk
/
firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58898f7
)
fixes audio/midi combinations
0.5.189
author
Jack Humbert
<jack.humb@gmail.com>
Sun, 10 Dec 2017 16:54:36 +0000
(11:54 -0500)
committer
Jack Humbert
<jack.humb@gmail.com>
Sun, 10 Dec 2017 16:54:36 +0000
(11:54 -0500)
quantum/quantum.c
patch
|
blob
|
blame
|
history
diff --git
a/quantum/quantum.c
b/quantum/quantum.c
index
e2280b7
..
52f19af
100644
(file)
--- 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);