Merge remote-tracking branch 'origin/master' into develop

master
QMK Bot 2023-02-08 02:21:22 +00:00
commit 650864c27d
1 changed files with 2 additions and 2 deletions

View File

@ -60,9 +60,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) { switch (keycode) {
case MIDI_CC80: case MIDI_CC80:
if (record->event.pressed) { if (record->event.pressed) {
midi_send_cc(&midi_device, midi_config.channel, 80, ON); midi_send_cc(&midi_device, midi_config.channel, 80, MIDI_CC_ON);
} else { } else {
midi_send_cc(&midi_device, midi_config.channel, 80, OFF); midi_send_cc(&midi_device, midi_config.channel, 80, MIDI_CC_OFF);
} }
return true; return true;
} }