esp_vfs_fat_sdcard_unmount() function
Unmount an SD card from the FAT filesystem and release resources acquired using `esp_vfs_fat_sdmmc_mount()` or `esp_vfs_fat_sdspi_mount()`
Return value
- ESP_OK on success - ESP_ERR_INVALID_ARG if the card argument is unregistered - ESP_ERR_INVALID_STATE if esp_vfs_fat_sdmmc_mount hasn't been called
Examples
esp_vfs_fat_sdcard_unmount() is referenced by 8 libraries and example projects: