We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5c873b commit f8c0689Copy full SHA for f8c0689
libraries/FFat/src/FFat.cpp
@@ -58,6 +58,8 @@ bool F_Fat::begin(bool formatOnFail, const char * basePath, uint8_t maxOpenFiles
58
esp_err_t err = esp_vfs_fat_spiflash_mount(basePath, partitionLabel, &conf, &_wl_handle);
59
if(err){
60
log_e("Mounting FFat partition failed! Error: %d", err);
61
+ esp_vfs_fat_spiflash_unmount(basePath, _wl_handle);
62
+ _wl_handle = WL_INVALID_HANDLE;
63
return false;
64
}
65
_impl->mountpoint(basePath);
0 commit comments