SoC Calculator #754
@ -169,7 +169,7 @@ void PowerController::calculateOpenCircuitVoltageCharge() {
|
|||||||
void PowerController::calculateCoulombCounterCharge() {
|
void PowerController::calculateCoulombCounterCharge() {
|
||||||
if ((pwrCtrlCoreHk.coulombCounterCharge.value == 0) or
|
if ((pwrCtrlCoreHk.coulombCounterCharge.value == 0) or
|
||||||
(p60CoreHk.batteryVoltage.value > coulombCounterVoltageUpperThreshold and
|
(p60CoreHk.batteryVoltage.value > coulombCounterVoltageUpperThreshold and
|
||||||
pwrCtrlCoreHk.coulombCounterCharge.value >= )) {
|
pwrCtrlCoreHk.coulombCounterCharge.value >= coulombCounterChargeUpperThreshold)) {
|
||||||
coulombCounterCharge = openCircuitVoltageCharge;
|
coulombCounterCharge = openCircuitVoltageCharge;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user