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

Appearance settings

Commit 08f26cc

Browse filesBrowse files
Added dont_mount option to conf initialization (espressif#6953)
With recent compiler update, the following warning is generated: packages/esp32/hardware/esp32/2.0.4/libraries/LittleFS/src/LittleFS.cpp:85:5: warning: missing initializer for member 'esp_vfs_littlefs_conf_t::dont_mount' [-Wmissing-field-initializers] This commit adds the missing identifier. Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
1 parent 205db02 commit 08f26cc
Copy full SHA for 08f26cc

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎libraries/LittleFS/src/LittleFS.cpp

Copy file name to clipboardExpand all lines: libraries/LittleFS/src/LittleFS.cpp
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ 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-
.format_if_mount_failed = false
84+
.format_if_mount_failed = false,
85+
.dont_mount = false
8586
};
8687

8788
esp_err_t err = esp_vfs_littlefs_register(&conf);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.