Function esp_idf_sys::esp_vfs_fat_unregister_path
source ยท pub unsafe extern "C" fn esp_vfs_fat_unregister_path(
base_path: *const c_char,
) -> esp_err_t
Expand description
@brief Un-register FATFS from VFS
@note FATFS structure returned by esp_vfs_fat_register is destroyed after this call. Make sure to call f_mount function to unmount it before calling esp_vfs_fat_unregister_ctx. Difference between this function and the one above is that this one will release the correct drive, while the one above will release the last registered one
@param base_path path prefix where FATFS is registered. This is the same used when esp_vfs_fat_register was called @return - ESP_OK on success - ESP_ERR_INVALID_STATE if FATFS is not registered in VFS