Skip to content

Commit 093680e

Browse files
authored
provide grow_on_mount feature (espressif#8769)
1 parent 93a118c commit 093680e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/LittleFS/src/LittleFS.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ bool LittleFSFS::begin(bool formatOnFail, const char * basePath, uint8_t maxOpen
8282
.base_path = basePath,
8383
.partition_label = partitionLabel_,
8484
.format_if_mount_failed = false,
85-
.dont_mount = false
85+
.dont_mount = false,
86+
.grow_on_mount = true
8687
};
8788

8889
esp_err_t err = esp_vfs_littlefs_register(&conf);

0 commit comments

Comments
 (0)