diff --git a/src/patrix/core/filesystem.cpp b/src/patrix/core/filesystem.cpp index b34987d..bb0d4f7 100644 --- a/src/patrix/core/filesystem.cpp +++ b/src/patrix/core/filesystem.cpp @@ -7,9 +7,10 @@ auto fsMounted = false; bool fsMount() { - if (!fsMounted) { - fsMounted = LittleFS.begin(true); + if (fsMounted) { + return true; } + fsMounted = LittleFS.begin(true); if (fsMounted) { info("Filesystem mounted: %3d%% used (%d bytes)", static_cast(round(100.0 * LittleFS.usedBytes() / LittleFS.totalBytes())), LittleFS.usedBytes()); } else {