mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-11 13:00:19 +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:
@@ -28,7 +28,7 @@ extern "C" void app_main(void)
|
||||
mount_config.format_if_mount_failed = true;
|
||||
mount_config.allocation_unit_size = CONFIG_WL_SECTOR_SIZE;
|
||||
|
||||
esp_err_t err = esp_vfs_fat_spiflash_mount(base_path, "storage", &mount_config, &s_wl_handle);
|
||||
esp_err_t err = esp_vfs_fat_spiflash_mount_rw_wl(base_path, "storage", &mount_config, &s_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