Skip to content

Commit

Permalink
provide grow_on_mount feature (#8769)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Oct 16, 2023
1 parent 93a118c commit 093680e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/LittleFS/src/LittleFS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 093680e

Please sign in to comment.