From a0f34a8d0a98d942c417e8b5cbeac9dd5c5a3fe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Wed, 27 Apr 2022 11:00:26 +0200 Subject: [PATCH] Make Debug Log less spammy --- src/shutdown.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/shutdown.h b/src/shutdown.h index ce1da1f36..17ceb75dd 100644 --- a/src/shutdown.h +++ b/src/shutdown.h @@ -6,13 +6,12 @@ void powerCommandsCheck() { - DEBUG_MSG("Rebooting\n"); - if (rebootAtMsec && millis() > rebootAtMsec) { + DEBUG_MSG("Rebooting\n"); #ifndef NO_ESP32 ESP.restart(); #elif NRF52_SERIES - NVIC_SystemReset(); + NVIC_SystemReset(); #else DEBUG_MSG("FIXME implement reboot for this platform"); #endif