diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-09-29 23:32:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-29 23:32:23 -0400 |
commit | 7c76d364549f7c27d09134f9a8308e05928ad550 (patch) | |
tree | ae5c3bdd6c508699a75a1d3cd11f844c8cdd28e0 /quantum/process_keycode | |
parent | d3fdc3a00f0c1ab718f83c9d2963adfb46b05562 (diff) | |
parent | 8d99140d1b80bf497b2198138d3f481e93b0fbab (diff) | |
download | qmk_firmware-7c76d364549f7c27d09134f9a8308e05928ad550.tar.gz |
Merge pull request #794 from AGausmann/midi-patch
Missing ifdef statement
Diffstat (limited to 'quantum/process_keycode')
-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 8784e64f3..577dad43a 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 +} |