From 0bfd31bc7e54a5f6817ec5f96dc17e8f9d191526 Mon Sep 17 00:00:00 2001 From: meggert Date: Fri, 28 Jul 2023 11:38:35 +0200 Subject: [PATCH] missed that one --- mission/controller/PowerController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mission/controller/PowerController.cpp b/mission/controller/PowerController.cpp index fa6ab403..eea251e0 100644 --- a/mission/controller/PowerController.cpp +++ b/mission/controller/PowerController.cpp @@ -169,7 +169,7 @@ void PowerController::calculateOpenCircuitVoltageCharge() { void PowerController::calculateCoulombCounterCharge() { if ((pwrCtrlCoreHk.coulombCounterCharge.value == 0) or (p60CoreHk.batteryVoltage.value > coulombCounterVoltageUpperThreshold and - pwrCtrlCoreHk.coulombCounterCharge.value >= )) { + pwrCtrlCoreHk.coulombCounterCharge.value >= coulombCounterChargeUpperThreshold)) { coulombCounterCharge = openCircuitVoltageCharge; }