Fix indentation
This commit is contained in:
parent
2966bb7d84
commit
f8d25822ce
28
Claire.ino
28
Claire.ino
|
@ -982,20 +982,20 @@ void loop(void) {
|
|||
firstTime = false;
|
||||
|
||||
#ifndef DISABLE_WIFI
|
||||
if (WiFi.status() != WL_CONNECTED) {
|
||||
Serial.print(millis());
|
||||
Serial.print(" wifi status error: ");
|
||||
Serial.print(WiFi.status());
|
||||
Serial.print("; expected: ");
|
||||
Serial.println(WL_CONNECTED);
|
||||
bool result = WiFi.reconnect();
|
||||
Serial.print(millis());
|
||||
Serial.print(" reconnecting result: ");
|
||||
Serial.print(result);
|
||||
Serial.print("; expected: ");
|
||||
Serial.println(ESP_OK);
|
||||
}
|
||||
getPrecipitation(address);
|
||||
if (WiFi.status() != WL_CONNECTED) {
|
||||
Serial.print(millis());
|
||||
Serial.print(" wifi status error: ");
|
||||
Serial.print(WiFi.status());
|
||||
Serial.print("; expected: ");
|
||||
Serial.println(WL_CONNECTED);
|
||||
bool result = WiFi.reconnect();
|
||||
Serial.print(millis());
|
||||
Serial.print(" reconnecting result: ");
|
||||
Serial.print(result);
|
||||
Serial.print("; expected: ");
|
||||
Serial.println(ESP_OK);
|
||||
}
|
||||
getPrecipitation(address);
|
||||
|
||||
if (counter == 0) {
|
||||
getAQI(address);
|
||||
|
|
Loading…
Reference in New Issue