From c056e476cfd51ee9ce5679ba06b51a48a1b07a1f Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 25 Apr 2020 20:54:10 +0200 Subject: Add batterycharge to stats --- src/common/Core/stats.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/Core/stats.h') diff --git a/src/common/Core/stats.h b/src/common/Core/stats.h index 09f4c17..31d653d 100644 --- a/src/common/Core/stats.h +++ b/src/common/Core/stats.h @@ -1,7 +1,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2019 Matthias P. Braendli, Maximilien Cuony + * Copyright (c) 2020 Matthias P. Braendli, Maximilien Cuony * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -25,7 +25,7 @@ #pragma once #include -void stats_voltage_at_full_hour(int hour, float u_bat); +void stats_battery_at_full_hour(int hour, float u_bat, uint32_t capacity_mAh); void stats_voltage(float u_bat); void stats_temp(float temp); -- cgit v1.2.3