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