From a97a85ea0f979977da2ad725bcb59c5fce5ba591 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 3 May 2020 15:20:40 +0200 Subject: Stats: capa in Ah --- src/common/Core/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } } -- cgit v1.2.3