Skip to content

Commit f406c0c

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 15ed5a3 commit f406c0c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: libraries/LittleFS/src/LittleFS.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ void LittleFSFS::end() {
9797
bool LittleFSFS::format() {
9898
bool wdt_active = disableCore0WDT();
9999
esp_err_t err = esp_littlefs_format(partitionLabel_);
100-
if (wdt_active) enableCore0WDT();
100+
if (wdt_active) {
101+
enableCore0WDT();
102+
}
101103
if (err) {
102104
log_e("Formatting LittleFS failed! Error: %d", err);
103105
return false;

0 commit comments

Comments
 (0)