Skip to content

Commit

Permalink
Missing ifdef statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Gausmann committed Sep 29, 2016
1 parent 2a160bb commit 8d99140
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion quantum/process_keycode/process_midi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -63,4 +65,4 @@ bool process_midi(uint16_t keycode, keyrecord_t *record) {
return false;
}
return true;
}
}

0 comments on commit 8d99140

Please sign in to comment.