Moves the shutdown thread into the Power class, make shutdown and reboot private (#7415)
This commit is contained in:
co-authored by
GitHub
parent
fff12979a2
commit
86960cdb1d
+1
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user