SoC Calculator #754

Merged
muellerr merged 74 commits from soc-calculator into main 2023-10-11 10:50:48 +02:00
Showing only changes of commit f1cb2caa3a - Show all commits

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;