mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-30 19:29:17 +00:00
Make Debug Log less spammy
This commit is contained in:
parent
359b41d869
commit
a0f34a8d0a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user