mirror of https://github.com/arendst/Tasmota.git
No LITTLEFS, always LittleFS
This commit is contained in:
parent
392d580a97
commit
923be119a2
|
@ -2224,12 +2224,7 @@ chknext:
|
||||||
if (!strncmp(vname, "fmt(", 4)) {
|
if (!strncmp(vname, "fmt(", 4)) {
|
||||||
lp = GetNumericArgument(lp + 4, OPER_EQU, &fvar, gv);
|
lp = GetNumericArgument(lp + 4, OPER_EQU, &fvar, gv);
|
||||||
if (!fvar) {
|
if (!fvar) {
|
||||||
#ifdef ESP8266
|
|
||||||
LittleFS.format();
|
LittleFS.format();
|
||||||
#endif
|
|
||||||
#ifdef ESP32
|
|
||||||
LITTLEFS.format();
|
|
||||||
#endif
|
|
||||||
} else {
|
} else {
|
||||||
//SD.format();
|
//SD.format();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue