Fix missing fs initialization if no wifi is used.

This commit is contained in:
Holger Weber
2026-02-22 21:49:44 +01:00
parent a23ca75d92
commit 40f1999b25

View File

@@ -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());