provide grow_on_mount feature (#8769)

This commit is contained in:
Jason2866 2023-10-16 22:42:40 +02:00 committed by GitHub
parent 93a118c8e4
commit 093680e065
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);