Disable shutdown for non ESP32 boards
This commit is contained in:
+3
-3
@@ -568,11 +568,11 @@ bool Power::axpChipInit()
|
|||||||
}
|
}
|
||||||
DEBUG_MSG("=======================================================================\n");
|
DEBUG_MSG("=======================================================================\n");
|
||||||
|
|
||||||
|
// Disable shutdown for non ESP32 boards
|
||||||
|
#ifdef ARCH_ESP32
|
||||||
// Set PMU shutdown voltage at 2.6V to maximize battery utilization
|
// Set PMU shutdown voltage at 2.6V to maximize battery utilization
|
||||||
PMU->setSysPowerDownVoltage(2600);
|
PMU->setSysPowerDownVoltage(2600);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef PMU_IRQ
|
#ifdef PMU_IRQ
|
||||||
|
|||||||
Reference in New Issue
Block a user