From 7133f63ef20de8fb34adace0fca4ce2f19ded2b3 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 15 Oct 2023 16:03:35 +0200 Subject: [PATCH] provide `grow_on_mount` feature --- libraries/LittleFS/src/LittleFS.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/LittleFS/src/LittleFS.cpp b/libraries/LittleFS/src/LittleFS.cpp index 608e0ba2b25..f23a3cfe611 100644 --- a/libraries/LittleFS/src/LittleFS.cpp +++ b/libraries/LittleFS/src/LittleFS.cpp @@ -82,7 +82,8 @@ bool LittleFSFS::begin(bool formatOnFail, const char * basePath, uint8_t maxOpen .base_path = basePath, .partition_label = partitionLabel_, .format_if_mount_failed = false, - .dont_mount = false + .dont_mount = false, + .grow_on_mount = true }; esp_err_t err = esp_vfs_littlefs_register(&conf);