[SYS] Publish the reboot reason with retain flag (#1802)
So as to have the information stored on the MQTT broker Also remove stopProcessing, not necessary as we follow by a restart
This commit is contained in:
1 parent
cf285fba15
commit
83137f6ac9
3 files changed
+17
-6
No files matched your search
@@ -115,7 +115,6 @@ void btScanWDG() {
|
||||
scanCount != 0 &&
|
||||
(now - lastBtScan > ((BTConfig.BLEinterval + BTConfig.scanDuration) < GeneralTimeOut ? GeneralTimeOut + 1000 : (BTConfig.BLEinterval + BTConfig.scanDuration)))) {
|
||||
Log.error(F("BLE Scan watchdog triggered at : %ds" CR), lastBtScan / 1000);
|
||||
stopProcessing();
|
||||
ESPRestart(4);
|
||||
} else {
|
||||
previousBtScanCount = scanCount;
|
||||
|
||||
Reference in new issue
Block a user