From 6b4171fef96311390cb83f87b4360da42eb12caf Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Fri, 20 Jan 2023 13:19:38 +0100 Subject: [PATCH] Shelly has label `fs_1` for spiffs (#17753) * Shelly has label `fs_1` for spiffs --- tasmota/tasmota_xdrv_driver/xdrv_50_filesystem.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_50_filesystem.ino b/tasmota/tasmota_xdrv_driver/xdrv_50_filesystem.ino index 93ed23ed1..4b4e2d8a8 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_50_filesystem.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_50_filesystem.ino @@ -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, "")) {