Update battery.c

This commit is contained in:
wizmo2
2021-05-13 20:00:02 -04:00
committed by GitHub
parent de41fb9583
commit d3dd8b9078

View File

@@ -32,8 +32,8 @@ static const char *TAG = "battery";
static struct { static struct {
int channel; int channel;
float sum, avg, scale; float sum, avg, scale;
int count, attenuation; int count;
int cells; int cells, attenuation;
TimerHandle_t timer; TimerHandle_t timer;
} battery = { } battery = {
.channel = CONFIG_BAT_CHANNEL, .channel = CONFIG_BAT_CHANNEL,