Function esp_idf_svc::sys::esp_vfs_fat_spiflash_unmount_ro

source ·
pub unsafe extern "C" fn esp_vfs_fat_spiflash_unmount_ro(
    base_path: *const i8,
    partition_label: *const i8,
) -> i32
Expand description

@brief Unmount FAT filesystem and release resources acquired using esp_vfs_fat_spiflash_mount_ro

@param base_path path where partition should be registered (e.g. “/spiflash”) @param partition_label label of partition to be unmounted

@return - ESP_OK on success - ESP_ERR_INVALID_STATE if esp_vfs_fat_spiflash_mount_ro hasn’t been called