fix: Update examples etc. to use esp_vfs_fat_register

Instead of deprecated esp_vfs_fat_register_cfg
This commit is contained in:
Adam Múdry
2026-02-04 16:33:40 +01:00
parent 38256a6b11
commit d58b9406d8
4 changed files with 9 additions and 9 deletions
@@ -278,7 +278,7 @@ esp_err_t msc_host_vfs_register(struct usbh_msc *msc_class,
.fat_drive = drive,
.max_files = mount_config->max_files,
};
ret = esp_vfs_fat_register_cfg(&conf, &fs);
ret = esp_vfs_fat_register(&conf, &fs);
ESP_GOTO_ON_ERROR(ret, fail, TAG, "Failed to register filesystem, error=%s", esp_err_to_name(ret));
vfs->fs = fs;