mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(storage/fatfs): fix double mouting of spiflash
This commit is contained in:
parent
d9a6ae2b3c
commit
f398b7923a
@ -242,7 +242,8 @@ esp_err_t esp_vfs_fat_spiflash_format_cfg_rw_wl(const char* base_path, const cha
|
||||
assert(found);
|
||||
if (s_ctx[id]->flags & FORMATTED_DURING_LAST_MOUNT) {
|
||||
ESP_LOGD(TAG, "partition was formatted during mounting, skipping another format");
|
||||
return ESP_OK;
|
||||
ret = ESP_OK;
|
||||
goto mount_back;
|
||||
}
|
||||
} else {
|
||||
partition_was_mounted = true;
|
||||
|
Loading…
Reference in New Issue
Block a user