mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-16 10:02:05 +00:00
Disable shutdown for non ESP32 boards
This commit is contained in:
parent
d3b3a4c148
commit
d1cc503ca8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user