sforkowany z mirror/meshtastic-firmware
Fix bug #551 - Turn the led off before shutting down.
Fix bug #551 - Turn the led off before shutting down.1.2-legacy
rodzic
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
|
||||||
|
|
Ładowanie…
Reference in New Issue