mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
1b24b3663e
FatFS library can sometimes return FR_INT_ERR if the filesystem is corrupted. Propagate the error from VFS functions instead of asserting, so that the application can handle the error. Also handle the error during initialization of FatFS and format the filesystem if it occurs.