[SYS] Refactor ESPrestart (#1625)

This commit is contained in:
Florian authored and GitHub committed 2023-04-28 17:06:23 -05:00
1 parent db32df90b8
commit 177fb97715
3 files changed
+26 -29

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ void btScanWDG() {
scanCount != 0 &&
(now - lastBtScan > BTConfig.BLEinterval)) {
Log.error(F("BLE Scan watchdog triggered at : %ds" CR), lastBtScan / 1000);
watchdogReboot(4);
ESPRestart(4);
} else {
previousBtScanCount = scanCount;
lastBtScan = now;