Skip to content

Commit 911061c

Browse files
authored
Add and init new LittleFS options (espressif#9122)
1 parent 84f2a3c commit 911061c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: libraries/LittleFS/src/LittleFS.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,11 @@ bool LittleFSFS::begin(bool formatOnFail, const char * basePath, uint8_t maxOpen
8181
esp_vfs_littlefs_conf_t conf = {
8282
.base_path = basePath,
8383
.partition_label = partitionLabel_,
84+
.partition = NULL,
8485
.format_if_mount_failed = false,
85-
.dont_mount = false
86+
.read_only = false,
87+
.dont_mount = false,
88+
.grow_on_mount = true
8689
};
8790

8891
esp_err_t err = esp_vfs_littlefs_register(&conf);

0 commit comments

Comments
 (0)