Skip to content

Commit

Permalink
Don't save lastBpm when rebooting out of AP
Browse files Browse the repository at this point in the history
  • Loading branch information
lbussy committed Dec 2, 2020
1 parent f46bb66 commit 909499b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wifihandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ void doWiFi(bool dontUseStoredCreds)
_delay(3000);
digitalWrite(LED, HIGH);
Log.warning(F("Restarting." CR));
resetController();
ESP.restart();
_delay(1000); // Just a hack to give it time to reset
}
else
Expand Down

0 comments on commit 909499b

Please sign in to comment.