summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authordbroqua <dbroqua@mousur.org>2016-10-01 18:28:48 +0200
committerdbroqua <dbroqua@mousur.org>2016-10-01 18:28:48 +0200
commit7cd210722db2a1318209a7385ed29d4e62bfab18 (patch)
tree279824e252a45f0a1b0d499bab36cbfbac5b28f6 /quantum
parent8747c0786e7b583529d4033ea90aa91e49ae3a51 (diff)
parent7abd3b4ddd0eb4ae4da6cce9283cfcf8089ac449 (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'quantum')
-rw-r--r--quantum/process_keycode/process_midi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_midi.c b/quantum/process_keycode/process_midi.c
index 8784e64f36..577dad43ac 100644
--- a/quantum/process_keycode/process_midi.c
+++ b/quantum/process_keycode/process_midi.c
@@ -7,7 +7,9 @@ int midi_offset = 7;
bool process_midi(uint16_t keycode, keyrecord_t *record) {
if (keycode == MI_ON && record->event.pressed) {
midi_activated = true;
+#ifdef AUDIO_ENABLE
music_scale_user();
+#endif
return false;
}
@@ -63,4 +65,4 @@ bool process_midi(uint16_t keycode, keyrecord_t *record) {
return false;
}
return true;
-} \ No newline at end of file
+}