Wifi name set to const
This commit is contained in:
parent
0b9b627b6b
commit
26300287f9
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue