Skip to content

Commit 650864c

Browse files
committed
Merge remote-tracking branch 'origin/master' into develop
2 parents 8d6bf19 + a7febfb commit 650864c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/feature_midi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
6060
switch (keycode) {
6161
case MIDI_CC80:
6262
if (record->event.pressed) {
63-
midi_send_cc(&midi_device, midi_config.channel, 80, ON);
63+
midi_send_cc(&midi_device, midi_config.channel, 80, MIDI_CC_ON);
6464
} else {
65-
midi_send_cc(&midi_device, midi_config.channel, 80, OFF);
65+
midi_send_cc(&midi_device, midi_config.channel, 80, MIDI_CC_OFF);
6666
}
6767
return true;
6868
}

0 commit comments

Comments
 (0)