Skip to content

Commit

Permalink
Update esp_flash_littleFs.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-github committed Dec 3, 2024
1 parent a625ebd commit bca0a15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main/modules/filesystem/flash/esp_flash_littleFs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@ bool ESP3DFlash::mount() {
esp_vfs_littlefs_conf_t conf = {
.base_path = mount_point(),
.partition_label = PARTITION_LABEL,
.partition = NULL,
.format_if_mount_failed = true,
.read_only = false,
.dont_mount = false,
.grow_on_mount = true,
};
esp_err_t ret = esp_vfs_littlefs_register(&conf);

Expand Down

0 comments on commit bca0a15

Please sign in to comment.