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