From 65c7cb80d510c702876f3d937accafbb185ab900 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 26 Apr 2020 11:24:03 +0200 Subject: Set max cap to 1650 Ah --- sw/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/main.cpp b/sw/main.cpp index 9855197..de1c693 100644 --- a/sw/main.cpp +++ b/sw/main.cpp @@ -68,7 +68,7 @@ constexpr double THRESHOLD_K1_DOWN = 1200.0 * 3600 - THRESHOLD_HYSTERESIS; constexpr double THRESHOLD_K2_DOWN = 1000.0 * 3600 - THRESHOLD_HYSTERESIS; constexpr double THRESHOLD_K3_DOWN = 600.0 * 3600 - THRESHOLD_HYSTERESIS; -constexpr uint32_t MAX_CAPACITY = 1500uL * 3600uL; // As +constexpr uint32_t MAX_CAPACITY = 1650uL * 3600uL; // As static uint32_t current_capacity; static uint32_t previous_capacity; -- cgit v1.2.3