2
0
wizmo2 3 жил өмнө
parent
commit
d3dd8b9078

+ 2 - 2
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,