cool
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
Marius Eggert 2023-07-31 13:32:40 +02:00
parent 2eba5d52da
commit f1cb2caa3a

View File

@ -43,7 +43,7 @@ ReturnValue_t PowerController::getParameter(uint8_t domainId, uint8_t parameterI
case 0x1:
parameterWrapper->set(batteryMaximumCapacity);
break;
case 0x2:
case 0x2: {
float oldCoulombCounterVoltageUpperThreshold = coulombCounterVoltageUpperThreshold;
parameterWrapper->set(coulombCounterVoltageUpperThreshold);
ReturnValue_t result = calculateCoulombCounterChargeUpperThreshold();
@ -51,6 +51,7 @@ ReturnValue_t PowerController::getParameter(uint8_t domainId, uint8_t parameterI
coulombCounterVoltageUpperThreshold = oldCoulombCounterVoltageUpperThreshold;
}
break;
}
case 0x3:
parameterWrapper->set(maxAllowedTimeDiff);
break;