forked from mirrors/qmk_firmware
Missing ifdef statement
This commit is contained in:
parent
2a160bbbe3
commit
8d99140d1b
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue