mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-26 09:59:01 +00:00
Fix bug #551 - Turn the led off before shutting down.
Fix bug #551 - Turn the led off before shutting down.
This commit is contained in:
parent
e82752c777
commit
5852caa61c
@ -236,6 +236,7 @@ class ButtonThread : public OSThread
|
||||
if (millis() - longPressTime > 10 * 1000) {
|
||||
#ifdef TBEAM_V10
|
||||
if (axp192_found == true) {
|
||||
setLed(false);
|
||||
power->shutdown();
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user