diff --git a/Sming/Libraries/Spiffs/src/include/IFS/SPIFFS/FileSystem.h b/Sming/Libraries/Spiffs/src/include/IFS/SPIFFS/FileSystem.h index 9ebbd156bf..18e1685faa 100644 --- a/Sming/Libraries/Spiffs/src/include/IFS/SPIFFS/FileSystem.h +++ b/Sming/Libraries/Spiffs/src/include/IFS/SPIFFS/FileSystem.h @@ -137,7 +137,7 @@ class FileSystem : public IFileSystem Storage::Partition partition; IProfiler* profiler{nullptr}; SpiffsMetaBuffer metaCache[SPIFF_FILEDESC_COUNT]; - spiffs fs; + spiffs fs{}; uint8_t workBuffer[LOG_PAGE_SIZE * 2]; spiffs_fd fileDescriptors[SPIFF_FILEDESC_COUNT]; uint8_t cache[CACHE_SIZE];