We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15ed5a3 commit f406c0cCopy full SHA for f406c0c
libraries/LittleFS/src/LittleFS.cpp
@@ -97,7 +97,9 @@ void LittleFSFS::end() {
97
bool LittleFSFS::format() {
98
bool wdt_active = disableCore0WDT();
99
esp_err_t err = esp_littlefs_format(partitionLabel_);
100
- if (wdt_active) enableCore0WDT();
+ if (wdt_active) {
101
+ enableCore0WDT();
102
+ }
103
if (err) {
104
log_e("Formatting LittleFS failed! Error: %d", err);
105
return false;
0 commit comments