aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-05-03 15:20:40 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-05-03 15:20:40 +0200
commita97a85ea0f979977da2ad725bcb59c5fce5ba591 (patch)
tree1cb583c5eae6f95167c1993138e49c40c51afb91
parent6b8e3bff52d4fb16af5e1a060326ec60b2eb4c8d (diff)
downloadglutte-o-matic-a97a85ea0f979977da2ad725bcb59c5fce5ba591.tar.gz
glutte-o-matic-a97a85ea0f979977da2ad725bcb59c5fce5ba591.tar.bz2
glutte-o-matic-a97a85ea0f979977da2ad725bcb59c5fce5ba591.zip
Stats: capa in Ah
-rw-r--r--src/common/Core/stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Core/stats.c b/src/common/Core/stats.c
index 22b45c8..92163d0 100644
--- a/src/common/Core/stats.c
+++ b/src/common/Core/stats.c
@@ -267,7 +267,7 @@ const char* stats_build_text(void)
else {
stats_end_ix += snprintf(
stats_text + stats_end_ix, STATS_LEN - 1 - stats_end_ix, " %ld",
- battery_charge_hourly[h]);
+ battery_charge_hourly[h] / 1000);
}
}