mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-11 22:17:17 +03:00
Update battery.c
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user