mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-12 12:26:11 -04:00
trying to fix it again
This commit is contained in:
1 parent
9801a62d2d
commit
817c99e09c
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -233,7 +233,7 @@ class ButtonThread : public OSThread
|
||||
|
||||
// If user button is held down for 10 seconds, shutdown the device.
|
||||
if (millis() - longPressTime > 10 * 1000) {
|
||||
#ifdef AXP192_SLAVE_ADDRESS
|
||||
#ifdef TBEAM_V10
|
||||
if (axp192_found == true) {
|
||||
power->shutdown();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user