wizmo2 před 3 roky
rodič
revize
d3dd8b9078
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      components/services/battery.c

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