From e60fcce511c6d69cb68960b0cb017ad09ceba272 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 30 Oct 2020 14:24:34 +0100 Subject: Set startup cap to a conservative 1000Ah --- sw/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') diff --git a/sw/main.cpp b/sw/main.cpp index f6a7ce9..83fc826 100644 --- a/sw/main.cpp +++ b/sw/main.cpp @@ -69,7 +69,7 @@ constexpr double THRESHOLD_K2_DOWN = THRESHOLD_K2; constexpr double THRESHOLD_K3_DOWN = THRESHOLD_K3; constexpr uint32_t MAX_CAPACITY = 1650uL * 3600uL; // As -constexpr uint32_t STARTUP_CAPACITY = 1023uL * 3600uL; // As +constexpr uint32_t STARTUP_CAPACITY = 1000uL * 3600uL; // As static uint32_t current_capacity; static uint32_t previous_capacity; -- cgit v1.2.3