This commit is contained in:
thrust26 2021-04-05 22:01:15 +02:00
commit 2015d98abf
1 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ void GenesisWidget::loadConfig()
myPins[kJBbtn]->setState(!getPin(ourPinNo[kJBbtn]));
myPins[kJCbtn]->setState(
getPin(Controller::AnalogPin::Five) == AnalogReadout::disconnect());
getPin(Controller::AnalogPin::Five) == AnalogReadout::connectToGround());
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -106,7 +106,7 @@ void GenesisWidget::handleCommand(
break;
case kJCbtn:
setPin(Controller::AnalogPin::Five,
myPins[id]->getState() ? AnalogReadout::disconnect() :
myPins[id]->getState() ? AnalogReadout::connectToGround() :
AnalogReadout::connectToVcc());
break;
default: