Function esp_idf_svc::sys::esp_vfs_fat_sdcard_unmount

source ·
pub unsafe extern "C" fn esp_vfs_fat_sdcard_unmount(
    base_path: *const i8,
    card: *mut sdmmc_card_t,
) -> i32
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