Function esp_idf_sys::esp_vfs_fat_spiflash_unmount_ro
source · pub unsafe extern "C" fn esp_vfs_fat_spiflash_unmount_ro(
base_path: *const c_char,
partition_label: *const c_char,
) -> esp_err_t
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