This commit is contained in:
parent
2eba5d52da
commit
f1cb2caa3a
@ -43,7 +43,7 @@ ReturnValue_t PowerController::getParameter(uint8_t domainId, uint8_t parameterI
|
|||||||
case 0x1:
|
case 0x1:
|
||||||
parameterWrapper->set(batteryMaximumCapacity);
|
parameterWrapper->set(batteryMaximumCapacity);
|
||||||
break;
|
break;
|
||||||
case 0x2:
|
case 0x2: {
|
||||||
float oldCoulombCounterVoltageUpperThreshold = coulombCounterVoltageUpperThreshold;
|
float oldCoulombCounterVoltageUpperThreshold = coulombCounterVoltageUpperThreshold;
|
||||||
parameterWrapper->set(coulombCounterVoltageUpperThreshold);
|
parameterWrapper->set(coulombCounterVoltageUpperThreshold);
|
||||||
ReturnValue_t result = calculateCoulombCounterChargeUpperThreshold();
|
ReturnValue_t result = calculateCoulombCounterChargeUpperThreshold();
|
||||||
@ -51,6 +51,7 @@ ReturnValue_t PowerController::getParameter(uint8_t domainId, uint8_t parameterI
|
|||||||
coulombCounterVoltageUpperThreshold = oldCoulombCounterVoltageUpperThreshold;
|
coulombCounterVoltageUpperThreshold = oldCoulombCounterVoltageUpperThreshold;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
case 0x3:
|
case 0x3:
|
||||||
parameterWrapper->set(maxAllowedTimeDiff);
|
parameterWrapper->set(maxAllowedTimeDiff);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user