diff --git a/.github/workflows/buildDevelop.yml b/.github/workflows/buildDevelop.yml index 43139a0..1df708c 100644 --- a/.github/workflows/buildDevelop.yml +++ b/.github/workflows/buildDevelop.yml @@ -4,7 +4,7 @@ on: - develop name: Develop env: - RACK_SDK_VERSION: 2.0.4 + RACK_SDK_VERSION: 2.0.5 jobs: buildLinux: name: Build Linux diff --git a/.github/workflows/buildRelease.yml b/.github/workflows/buildRelease.yml index cdd0f30..4223c4b 100644 --- a/.github/workflows/buildRelease.yml +++ b/.github/workflows/buildRelease.yml @@ -5,7 +5,7 @@ name: Release env: RACK_DIR: ${GITHUB_WORKSPACE}/Rack-SDK RACK_USER_DIR: ${GITHUB_WORKSPACE} - RACK_SDK_VERSION: 2.0.4 + RACK_SDK_VERSION: 2.0.5 jobs: buildLinux: name: Build Linux diff --git a/changelog.md b/changelog.md index 6c3a85a..109dea8 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,9 @@ # Changelog ## v2.0.4 +- 04-Jan-2022 Update CI pipelines to SDK v2.0.5 +- 04-Jan-2022 Fix resizing issue with TD-316 +- 04-Jan-2022 Fix bug #193 incorrect wiring for AG-202, OG-202 and XG-202 devices - 22-Dec-2021 Add AO-101 module - 20-Dec-2021 Fix bug #186 missing algorithms is AO-1xx manual - 18-Dec-2021 Fix bug #185 html tables in manual diff --git a/src/AG2.cpp b/src/AG2.cpp index 3824684..3a648c4 100644 --- a/src/AG2.cpp +++ b/src/AG2.cpp @@ -52,7 +52,7 @@ struct AG_2 : DS_Module { accumulator &= getInput(channels, 0xFFFF, INPUT_B_1 + i); accumulator &= getInput(channels, 0xFFFF, INPUT_C_1 + i); accumulator &= getInput(channels, 0xFFFF, INPUT_D_1 + i); - setOutput(channels, OUTPUT_1, accumulator); + setOutput(channels, OUTPUT_1 + i, accumulator); } } }; diff --git a/src/OG2.cpp b/src/OG2.cpp index d07d2f0..f628455 100644 --- a/src/OG2.cpp +++ b/src/OG2.cpp @@ -52,7 +52,7 @@ struct OG_2 : DS_Module { accumulator |= getInput(channels, 0x0, INPUT_B_1 + i); accumulator |= getInput(channels, 0x0, INPUT_C_1 + i); accumulator |= getInput(channels, 0x0, INPUT_D_1 + i); - setOutput(channels, OUTPUT_1, accumulator); + setOutput(channels, OUTPUT_1 + i, accumulator); } } }; diff --git a/src/TD3.cpp b/src/TD3.cpp index b4d3012..cad28b5 100644 --- a/src/TD3.cpp +++ b/src/TD3.cpp @@ -124,17 +124,17 @@ struct TD316 : SchemeModuleWidget { TD316(TD_316 *module) { setModule(module); - this->box.size = Vec(240, 380); + this->box.size = Vec(module ? (module->moduleSize) : 240, 380); schemePanel = new SchemePanel(this->box.size, 75.0f, 300.0f); schemePanel->resizeHandler = [=]() { onResized(); }; addChild(schemePanel); textField = createWidget(Vec(4, 18)); - textField->box.size = Vec(232, 344); + textField->box.size = Vec(box.size.x - 8, 344); textField->multiline = true; addChild(textField); addChild(createLightCentered(Vec(3, 14), module, 0)); - light = createLightCentered(Vec(237, 14), module, 1); + light = createLightCentered(Vec(box.size.x - 3, 14), module, 1); addChild(light); } @@ -191,6 +191,7 @@ struct TD316 : SchemeModuleWidget { } void onResize(const event::Resize &e) override { + ModuleWidget::onResize(e); onResized(); } void onResized() { diff --git a/src/XG2.cpp b/src/XG2.cpp index b707d33..d8652cd 100644 --- a/src/XG2.cpp +++ b/src/XG2.cpp @@ -52,7 +52,7 @@ struct XG_2 : DS_Module { accumulator ^= getInput(channels, 0x0, INPUT_B_1 + i); accumulator ^= getInput(channels, 0x0, INPUT_C_1 + i); accumulator ^= getInput(channels, 0x0, INPUT_D_1 + i); - setOutput(channels, OUTPUT_1, accumulator); + setOutput(channels, OUTPUT_1 + i, accumulator); } } };