From d3dd8b9078dd812fd867e75bbcfec2547f431357 Mon Sep 17 00:00:00 2001 From: wizmo2 Date: Thu, 13 May 2021 20:00:02 -0400 Subject: [PATCH] Update battery.c --- components/services/battery.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/services/battery.c b/components/services/battery.c index 254705ca..23f3573e 100644 --- a/components/services/battery.c +++ b/components/services/battery.c @@ -32,8 +32,8 @@ static const char *TAG = "battery"; static struct { int channel; float sum, avg, scale; - int count, attenuation; - int cells; + int count; + int cells, attenuation; TimerHandle_t timer; } battery = { .channel = CONFIG_BAT_CHANNEL,