From f8d25822ce75d165b1298cb9abe795957436d8a8 Mon Sep 17 00:00:00 2001 From: admar Date: Sun, 5 Jun 2022 17:22:54 +0200 Subject: [PATCH] Fix indentation --- Claire.ino | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Claire.ino b/Claire.ino index e257b2f..a9db1ff 100644 --- a/Claire.ino +++ b/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);