Function esp_idf_sys::esp_vfs_fat_sdcard_unmount
source · pub unsafe extern "C" fn esp_vfs_fat_sdcard_unmount(
base_path: *const c_char,
card: *mut sdmmc_card_t,
) -> esp_err_t
Expand description
@brief 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 - 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