summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2023-02-08 02:21:22 +0000
committerQMK Bot <hello@qmk.fm>2023-02-08 02:21:22 +0000
commit650864c27d2477f3506912063c7d8adf5b4e6a28 (patch)
tree2786d6e665c6958869fccea6ec4f7c6cc188ab6b
parent8d6bf19fc78fe372cd42486718d753f342895d2f (diff)
parenta7febfbb62182e72ecc39c5fa9e8bd9ac923f47e (diff)
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--docs/feature_midi.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/feature_midi.md b/docs/feature_midi.md
index 775a5e34ee..59ee0114c8 100644
--- a/docs/feature_midi.md
+++ b/docs/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;
}