fix
This commit is contained in:
parent
d1fc876f03
commit
c52746a2df
@ -182,7 +182,7 @@ void PowerController::calculateStateOfCharge() {
|
||||
}
|
||||
|
||||
// calculate total battery current
|
||||
iBat = p60CoreHk.batteryCurrent.value + bpxBatteryHk.dischargeCurrent.value;
|
||||
iBat = p60CoreHk.batteryCurrent.value - bpxBatteryHk.dischargeCurrent.value;
|
||||
|
||||
result = calculateOpenCircuitVoltageCharge();
|
||||
if (result != returnvalue::OK) {
|
||||
|
Loading…
Reference in New Issue
Block a user