mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 14:12:05 +00:00
Save on shutdown added to buttonthead
This commit is contained in:
parent
25b2a75dfe
commit
f1d4e5fa48
@ -310,6 +310,7 @@ int32_t ButtonThread::runOnce()
|
|||||||
playShutdownMelody();
|
playShutdownMelody();
|
||||||
delay(3000);
|
delay(3000);
|
||||||
power->shutdown();
|
power->shutdown();
|
||||||
|
nodeDB->saveToDisk();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user