forked from espressif/arduino-esp32
Removed more shitty garbage stuff
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user