Removed more shitty garbage stuff

This commit is contained in:
2021-02-12 18:25:34 +01:00
parent 9ff721dede
commit a4a32ef88a
6 changed files with 2 additions and 244 deletions

View File

@ -107,10 +107,9 @@ void SPIFFSFS::end()
bool SPIFFSFS::format()
{
disableCore0WDT();
esp_err_t err = esp_spiffs_format(partitionLabel_);
enableCore0WDT();
if(err){
if (err)
{
log_e("Formatting SPIFFS failed! Error: %d", err);
return false;
}