Browse Source

Fix a typo, midi out went only to 15

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.02
falkTX 3 years ago
parent
commit
31c108c9ae
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      plugins/Cardinal/src/HostMIDI.cpp

+ 1
- 1
plugins/Cardinal/src/HostMIDI.cpp View File

@@ -824,7 +824,7 @@ struct HostMIDIWidget : ModuleWidget {
HostMIDI* module;
Menu* createChildMenu() override {
Menu* menu = new Menu;
for (uint8_t c = 0; c < 15; c++) {
for (uint8_t c = 0; c < 16; c++) {
menu->addChild(createCheckMenuItem(string::f("%d", c+1), "",
[=]() {return module->midiOutput.channel == c;},
[=]() {module->midiOutput.channel = c;}


Loading…
Cancel
Save