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()
|
void startWebInterface()
|
||||||
{
|
{
|
||||||
|
initConfigStore();
|
||||||
if (kWifiSsid != 0)
|
if (kWifiSsid != 0)
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -380,7 +381,7 @@ void startWebInterface()
|
|||||||
delay(250);
|
delay(250);
|
||||||
}
|
}
|
||||||
|
|
||||||
initConfigStore();
|
|
||||||
if (WiFi.status() == WL_CONNECTED)
|
if (WiFi.status() == WL_CONNECTED)
|
||||||
{
|
{
|
||||||
Serial.println(String("http://") + WiFi.localIP().toString());
|
Serial.println(String("http://") + WiFi.localIP().toString());
|
||||||
|
|||||||
Reference in New Issue
Block a user