diff --git a/firmware/firmware.ino b/firmware/firmware.ino index 1478ccb..2595ce4 100644 --- a/firmware/firmware.ino +++ b/firmware/firmware.ino @@ -159,7 +159,7 @@ void wifiConnectionCheck() #ifdef USE_WIFIMANAGER // Establish WiFi connection - String wifiName = "oko-weather-" + DEVICE_NAME; + const String wifiName = "oko-weather-" + DEVICE_NAME; wifiManager.setMinimumSignalQuality(WIFI_MINIMUM_SIGNAL_QUALITY); // the time in seconds to wait for the known wifi connection @@ -356,7 +356,6 @@ void _loop() delay(100); #ifdef INFLUXDB_FEATURE - for (uint8_t i = 0; i < 5 and validData == false; i++) { if (currentSensorData[i] != 0)