fix wifisettings, move to littleFS
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#include "connection.h"
|
||||
|
||||
String wifiState;
|
||||
FS *filesystem = &SPIFFS;
|
||||
|
||||
void initWifiConnection(void)
|
||||
{
|
||||
@@ -35,7 +34,10 @@ void initWifiConnection(void)
|
||||
|
||||
void initConnection(void)
|
||||
{
|
||||
filesystem->begin();
|
||||
if (!LittleFS.begin())
|
||||
{
|
||||
Serial.println("An Error has occurred while mounting LittleFS");
|
||||
}
|
||||
initWifiConnection();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user