mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
change: renamed FATFS convenience mounting functions
change: renamed every instance of these functions add: deprecation notice with old functions change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
This commit is contained in:
@@ -44,7 +44,7 @@ static void initialize_filesystem(void)
|
||||
.max_files = 4,
|
||||
.format_if_mount_failed = true
|
||||
};
|
||||
esp_err_t err = esp_vfs_fat_spiflash_mount(MOUNT_PATH, "storage", &mount_config, &wl_handle);
|
||||
esp_err_t err = esp_vfs_fat_spiflash_mount_rw_wl(MOUNT_PATH, "storage", &mount_config, &wl_handle);
|
||||
if (err != ESP_OK) {
|
||||
ESP_LOGE(TAG, "Failed to mount FATFS (%s)", esp_err_to_name(err));
|
||||
return;
|
||||
|
Reference in New Issue
Block a user