Skip to content

Commit

Permalink
fixes #559
Browse files Browse the repository at this point in the history
  • Loading branch information
doudar committed Jul 28, 2024
1 parent c90d3da commit 65a0045
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ void setup() {
if (!LittleFS.begin(false)) {
// FSUpgrader upgrade;
SS2K_LOG(MAIN_LOG_TAG, "An Error has occurred while mounting LittleFS.");
LittleFS.format();
vTaskDelay(100/portTICK_PERIOD_MS);
// BEGIN FS UPGRADE SPECIFIC//
// upgrade.upgradeFS();
// END FS UPGRADE SPECIFIC//
Expand Down

0 comments on commit 65a0045

Please sign in to comment.