mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 09:43:03 +00:00
trying to fix it again
This commit is contained in:
@@ -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