From 5852caa61cfe87b2594bcb1a48b9fcc589faba60 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Fri, 11 Dec 2020 23:03:32 -0800 Subject: [PATCH] Fix bug #551 - Turn the led off before shutting down. Fix bug #551 - Turn the led off before shutting down. --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 78c1bee1..59773e2b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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