From f2e15bb13447fb7b8dea1c98a019db50eedb7149 Mon Sep 17 00:00:00 2001 From: meggert Date: Wed, 20 Sep 2023 09:18:52 +0200 Subject: [PATCH] fixed wrong type --- mission/controller/PowerController.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mission/controller/PowerController.h b/mission/controller/PowerController.h index cd984840..bfb28b52 100644 --- a/mission/controller/PowerController.h +++ b/mission/controller/PowerController.h @@ -105,7 +105,7 @@ class PowerController : public ExtendedControllerBase, public ReceivesParameterM float coulombCounterCharge = 0; // [mC] float coulombCounterChargeUpperThreshold = 0.0; // [mC] - static constexpr float INVALID_TOTAL_BATTERY_CURRENT = 0; + static constexpr int16_t INVALID_TOTAL_BATTERY_CURRENT = 0; static constexpr float INVALID_SOC = -1; // HK Datasets for Calculation