diff options
author | Adam Gausmann <adam@nonemu.ninja> | 2016-09-29 14:46:10 -0500 |
---|---|---|
committer | Adam Gausmann <adam@nonemu.ninja> | 2016-09-29 14:46:10 -0500 |
commit | 8d99140d1b80bf497b2198138d3f481e93b0fbab (patch) | |
tree | 752d08bd75a9233848d391b390c0cc9032bc43dc /quantum/process_keycode | |
parent | 2a160bbbe3ad496dd688f4399ab2b8d127c0b8a7 (diff) |
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 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 +} |