added debug output on crash, removed whitespaces

This commit is contained in:
Damian Schneider
2025-09-01 22:22:16 +02:00
parent 8cc5d64819
commit a037d99469

View File

@@ -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++;