mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 17:52:35 +00:00
Rename axp192_found to pmu_found to avoid confusion
This commit is contained in:
@@ -129,7 +129,7 @@ class ButtonThread : public concurrency::OSThread
|
||||
// If user button is held down for 5 seconds, shutdown the device.
|
||||
if ((millis() - longPressTime > 5 * 1000) && (longPressTime > 0)) {
|
||||
#if defined(HAS_AXP192) || defined(HAS_AXP2101)
|
||||
if (axp192_found == true) {
|
||||
if (pmu_found == true) {
|
||||
setLed(false);
|
||||
power->shutdown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user