From 71cbe16586e6227284a95da1f3e64abd098d2be4 Mon Sep 17 00:00:00 2001 From: zvecr Date: Wed, 8 Feb 2023 02:22:19 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20qmk/qmk?= =?UTF-8?q?=5Ffirmware@a7febfbb62182e72ecc39c5fa9e8bd9ac923f47e=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- feature_midi.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/feature_midi.md b/feature_midi.md index 1f0809ef144..5df11c4b586 100644 --- a/feature_midi.md +++ b/feature_midi.md @@ -60,9 +60,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { case MIDI_CC80: 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 { - midi_send_cc(&midi_device, midi_config.channel, 80, OFF); + midi_send_cc(&midi_device, midi_config.channel, 80, MIDI_CC_OFF); } return true; }