mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 06:02:05 +00:00
Fix for shutdown banner
This commit is contained in:
parent
bdd03bc853
commit
051e7331f2
@ -735,8 +735,8 @@ bool CannedMessageModule::handleSystemCommandInput(const InputEvent* event) {
|
||||
// Power control
|
||||
case INPUT_BROKER_MSG_SHUTDOWN:
|
||||
if (screen) screen->showOverlayBanner("Shutting down...");
|
||||
shutdownAtMsec = millis() + DEFAULT_SHUTDOWN_SECONDS * 1000;
|
||||
nodeDB->saveToDisk();
|
||||
shutdownAtMsec = millis() + DEFAULT_SHUTDOWN_SECONDS * 1000;
|
||||
runState = CANNED_MESSAGE_RUN_STATE_INACTIVE;
|
||||
return true;
|
||||
case INPUT_BROKER_MSG_REBOOT:
|
||||
|
Loading…
Reference in New Issue
Block a user