vfs_fat_spiflash: use esp_check

This commit is contained in:
Armando
2022-12-27 17:55:37 +08:00
committed by BOT
parent e65eaa4d8c
commit 1bd8018a59
2 changed files with 57 additions and 63 deletions

View File

@@ -285,7 +285,7 @@ esp_err_t esp_vfs_fat_spiflash_mount_ro(const char* base_path,
*
* @return
* - ESP_OK on success
* - ESP_ERR_INVALID_STATE if esp_vfs_fat_spiflash_mount_rw_wl hasn't been called
* - ESP_ERR_INVALID_STATE if esp_vfs_fat_spiflash_mount_ro hasn't been called
*/
esp_err_t esp_vfs_fat_spiflash_unmount_ro(const char* base_path, const char* partition_label);