Moves the shutdown thread into the Power class, make shutdown and reboot private (#7415)

This commit is contained in:
Jonathan Bennett
2025-07-22 06:21:51 -05:00
committed by GitHub
parent fff12979a2
commit 86960cdb1d
5 changed files with 51 additions and 51 deletions

View File

@@ -72,7 +72,7 @@ extern Power *power;
static void shutdownEnter()
{
LOG_DEBUG("State: SHUTDOWN");
power->shutdown();
shutdownAtMsec = millis();
}
#include "error.h"