added debug output on crash, removed whitespaces
This commit is contained in:
@@ -796,6 +796,7 @@ static bool detectBootLoop() {
|
||||
|
||||
case ResetReason::Crash:
|
||||
{
|
||||
DEBUG_PRINTLN(F("crash detected!"));
|
||||
uint32_t rebootinterval = rtctime - bl_last_boottime;
|
||||
if (rebootinterval < BOOTLOOP_INTERVAL_MILLIS) {
|
||||
bl_crashcounter++;
|
||||
|
||||
Reference in New Issue
Block a user