From c71caffa9f6e10eef75dd228566c8115d864c4d2 Mon Sep 17 00:00:00 2001 From: Dan Green Date: Thu, 30 May 2024 21:59:33 -0700 Subject: [PATCH] Re-enable reading horizontal switches in PICore --- shared/CoreModules/4ms/core/PICore.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/shared/CoreModules/4ms/core/PICore.cc b/shared/CoreModules/4ms/core/PICore.cc index 193619d6a..896cb0ddf 100644 --- a/shared/CoreModules/4ms/core/PICore.cc +++ b/shared/CoreModules/4ms/core/PICore.cc @@ -69,8 +69,7 @@ class PICore : public SmartCoreProcessor { } float readMaximumGain() { - // auto gainMode = getState(); - auto gainMode = Toggle3posHoriz::State_t::CENTER; + auto gainMode = getState(); if (gainMode == Toggle3posHoriz::State_t::LEFT) { return maximumGains[LOW]; @@ -104,8 +103,7 @@ class PICore : public SmartCoreProcessor { void readEnvelopeMode() { - // auto envMode = getState(); - auto envMode = Toggle2posHoriz::State_t::LEFT; + auto envMode = getState(); if(envMode == Toggle2posHoriz::State_t::LEFT) { mode = FOLLOW;