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()
{
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