Skip to content

Commit

Permalink
Fix two bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
david-c14 committed Jan 4, 2022
1 parent 09ac647 commit 13266f0
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/buildDevelop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/buildRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/AG2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/OG2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
};
Expand Down
7 changes: 4 additions & 3 deletions src/TD3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<TD3Text>(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<RightLight>(Vec(3, 14), module, 0));
light = createLightCentered<LeftLight>(Vec(237, 14), module, 1);
light = createLightCentered<LeftLight>(Vec(box.size.x - 3, 14), module, 1);
addChild(light);

}
Expand Down Expand Up @@ -191,6 +191,7 @@ struct TD316 : SchemeModuleWidget {
}

void onResize(const event::Resize &e) override {
ModuleWidget::onResize(e);
onResized();
}
void onResized() {
Expand Down
2 changes: 1 addition & 1 deletion src/XG2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
};
Expand Down

0 comments on commit 13266f0

Please sign in to comment.