mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-26 18:09:04 +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) {
|
if (millis() - longPressTime > 10 * 1000) {
|
||||||
#ifdef TBEAM_V10
|
#ifdef TBEAM_V10
|
||||||
if (axp192_found == true) {
|
if (axp192_found == true) {
|
||||||
|
setLed(false);
|
||||||
power->shutdown();
|
power->shutdown();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user