Admin message shutdown feature (#1124)

* Shutdown via proto admin message
This commit is contained in:
Ben Meadors
2022-01-21 15:03:26 -06:00
committed by GitHub
parent 7723b30951
commit b6706c7ac1
3 changed files with 34 additions and 2 deletions

View File

@@ -21,6 +21,7 @@ extern graphics::Screen *screen;
const char *getDeviceName();
extern uint32_t rebootAtMsec;
extern uint32_t shutdownAtMsec;
// If a thread does something that might need for it to be rescheduled ASAP it can set this flag
// This will supress the current delay and instead try to run ASAP.