Shelly has label `fs_1` for spiffs (#17753)

* Shelly has label `fs_1` for spiffs
This commit is contained in:
Jason2866 2023-01-20 13:19:38 +01:00 committed by GitHub
parent 51866026d5
commit 6b4171fef9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ void UfsInitOnce(void) {
#ifdef ESP32
// try lfs first
ffsp = &LittleFS;
if (!LittleFS.begin(true, "")) { // force empty mount point to make it the fallback FS
if (!LittleFS.begin(true, "") && !LittleFS.begin(true, "", 5, "fs_1")) { // force empty mount point to make it the fallback FS
// ffat is second
ffsp = &FFat;
if (!FFat.begin(true, "")) {