removed debug stuff

This commit is contained in:
2023-10-11 09:24:36 +02:00
parent 2c30efa821
commit b9f05a14f7
2 changed files with 2 additions and 9 deletions

@ -54,7 +54,7 @@ ReturnValue_t PowerController::getParameter(uint8_t domainId, uint8_t parameterI
coulombCounterVoltageUpperThreshold = oldCoulombCounterVoltageUpperThreshold;
return result;
}
// parameterWrapper->set(coulombCounterVoltageUpperThreshold);
parameterWrapper->set(coulombCounterVoltageUpperThreshold);
break;
}
case 0x3:
@ -235,11 +235,6 @@ void PowerController::calculateStateOfCharge() {
}
void PowerController::watchStateOfCharge() {
if (test < 100) {
test++;
} else if (test == 100) {
// pwrCtrlCoreHk.coulombCounterCharge.value = 0.7;
}
if (pwrCtrlCoreHk.coulombCounterCharge.isValid()) {
if (pwrCtrlCoreHk.coulombCounterCharge.value < payloadOpLimitOn) {
PoolReadGuard pg(&enablePl);