Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 093680e

Browse files
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‎

Lines changed: 2 additions & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /