diff --git a/mission/controller/PowerController.cpp b/mission/controller/PowerController.cpp index e08fc9eb..58177313 100644 --- a/mission/controller/PowerController.cpp +++ b/mission/controller/PowerController.cpp @@ -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;