diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-10-30 14:24:34 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-10-30 14:24:34 +0100 |
commit | e60fcce511c6d69cb68960b0cb017ad09ceba272 (patch) | |
tree | 9df14a61eec5e38ca6722a7cfa93c316c00dac21 | |
parent | 4bd5855f386801a594636dc2848376d56700f066 (diff) | |
download | glutte-batteries-e60fcce511c6d69cb68960b0cb017ad09ceba272.tar.gz glutte-batteries-e60fcce511c6d69cb68960b0cb017ad09ceba272.tar.bz2 glutte-batteries-e60fcce511c6d69cb68960b0cb017ad09ceba272.zip |
Set startup cap to a conservative 1000Ah
-rw-r--r-- | sw/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |