Make Debug Log less spammy

This commit is contained in:
Thomas Göttgens 2022-04-27 11:00:26 +02:00
parent 359b41d869
commit a0f34a8d0a

View File

@ -6,13 +6,12 @@
void powerCommandsCheck() void powerCommandsCheck()
{ {
DEBUG_MSG("Rebooting\n");
if (rebootAtMsec && millis() > rebootAtMsec) { if (rebootAtMsec && millis() > rebootAtMsec) {
DEBUG_MSG("Rebooting\n");
#ifndef NO_ESP32 #ifndef NO_ESP32
ESP.restart(); ESP.restart();
#elif NRF52_SERIES #elif NRF52_SERIES
NVIC_SystemReset(); NVIC_SystemReset();
#else #else
DEBUG_MSG("FIXME implement reboot for this platform"); DEBUG_MSG("FIXME implement reboot for this platform");
#endif #endif