Fix missing fs initialization if no wifi is used.
This commit is contained in:
@@ -367,6 +367,7 @@ bool applyConfigJson(const String &payload, String &errorMessage)
|
||||
|
||||
void startWebInterface()
|
||||
{
|
||||
initConfigStore();
|
||||
if (kWifiSsid != 0)
|
||||
{
|
||||
|
||||
@@ -380,7 +381,7 @@ void startWebInterface()
|
||||
delay(250);
|
||||
}
|
||||
|
||||
initConfigStore();
|
||||
|
||||
if (WiFi.status() == WL_CONNECTED)
|
||||
{
|
||||
Serial.println(String("http://") + WiFi.localIP().toString());
|
||||
|
||||
Reference in New Issue
Block a user