diff options
author | dbroqua <dbroqua@mousur.org> | 2016-10-01 18:28:48 +0200 |
---|---|---|
committer | dbroqua <dbroqua@mousur.org> | 2016-10-01 18:28:48 +0200 |
commit | 7cd210722db2a1318209a7385ed29d4e62bfab18 (patch) | |
tree | 279824e252a45f0a1b0d499bab36cbfbac5b28f6 /quantum | |
parent | 8747c0786e7b583529d4033ea90aa91e49ae3a51 (diff) | |
parent | 7abd3b4ddd0eb4ae4da6cce9283cfcf8089ac449 (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/process_keycode/process_midi.c | 4 |
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 +} |