Function esp_idf_svc::sys::esp_vfs_fat_spiflash_unmount_rw_wl
source · pub unsafe extern "C" fn esp_vfs_fat_spiflash_unmount_rw_wl(
base_path: *const i8,
wl_handle: i32,
) -> i32
Expand description
@brief Unmount FAT filesystem and release resources acquired using esp_vfs_fat_spiflash_mount_rw_wl
@param base_path path where partition should be registered (e.g. “/spiflash”) @param wl_handle wear levelling driver handle returned by esp_vfs_fat_spiflash_mount_rw_wl
@return - ESP_OK on success - ESP_ERR_INVALID_STATE if esp_vfs_fat_spiflash_mount_rw_wl hasn’t been called