Fixed NULL access

This commit is contained in:
Gunnar Skjold
2021-12-19 09:15:06 +01:00
parent 2a20893a58
commit 376cd0cf90
2 changed files with 13 additions and 9 deletions

View File

@@ -319,7 +319,7 @@ private:
bool wifiChanged, mqttChanged, meterChanged = true, domoChanged, ntpChanged = true, entsoeChanged = false;
uint8_t tempSensorCount = 0;
TempSensorConfig** tempSensors;
TempSensorConfig** tempSensors = NULL;
bool loadConfig83(int address);
bool relocateConfig86();