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
co-authored by GitHub
parent fff12979a2
commit 86960cdb1d
5 changed files with 51 additions and 51 deletions
+1 -2
View File
@@ -33,7 +33,6 @@
#include "mesh/generated/meshtastic/config.pb.h"
#include "meshUtils.h"
#include "modules/Modules.h"
#include "shutdown.h"
#include "sleep.h"
#include "target_specific.h"
#include <memory>
@@ -1530,7 +1529,7 @@ void loop()
#ifdef ARCH_NRF52
nrf52Loop();
#endif
powerCommandsCheck();
power->powerCommandsCheck();
#ifdef DEBUG_STACK
static uint32_t lastPrint = 0;