diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-04-26 11:24:03 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-04-26 11:24:03 +0200 |
commit | 65c7cb80d510c702876f3d937accafbb185ab900 (patch) | |
tree | d735a3cfd1baabf001cbfc3168f43356570c2d5d /sw | |
parent | 775780f9beef84cd88bf0391579f9048b779fbfa (diff) | |
download | glutte-batteries-65c7cb80d510c702876f3d937accafbb185ab900.tar.gz glutte-batteries-65c7cb80d510c702876f3d937accafbb185ab900.tar.bz2 glutte-batteries-65c7cb80d510c702876f3d937accafbb185ab900.zip |
Set max cap to 1650 Ah
Diffstat (limited to 'sw')
-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 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; |