Skip to content

Commit

Permalink
Re-enable reading horizontal switches in PICore
Browse files Browse the repository at this point in the history
  • Loading branch information
danngreen committed May 31, 2024
1 parent 250202c commit c71caff
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions shared/CoreModules/4ms/core/PICore.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ class PICore : public SmartCoreProcessor<PIInfo> {
}

float readMaximumGain() {
// auto gainMode = getState<GainSwitch>();
auto gainMode = Toggle3posHoriz::State_t::CENTER;
auto gainMode = getState<GainSwitch>();

if (gainMode == Toggle3posHoriz::State_t::LEFT) {
return maximumGains[LOW];
Expand Down Expand Up @@ -104,8 +103,7 @@ class PICore : public SmartCoreProcessor<PIInfo> {

void readEnvelopeMode()
{
// auto envMode = getState<EnvModeSwitch>();
auto envMode = Toggle2posHoriz::State_t::LEFT;
auto envMode = getState<EnvModeSwitch>();

if(envMode == Toggle2posHoriz::State_t::LEFT) {
mode = FOLLOW;
Expand Down

0 comments on commit c71caff

Please sign in to comment.