Disable shutdown for non ESP32 boards

This commit is contained in:
Dmitry Galenko 2022-12-14 14:36:15 +01:00
parent d3b3a4c148
commit d1cc503ca8

View File

@ -568,11 +568,11 @@ bool Power::axpChipInit()
}
DEBUG_MSG("=======================================================================\n");
// Disable shutdown for non ESP32 boards
#ifdef ARCH_ESP32
// Set PMU shutdown voltage at 2.6V to maximize battery utilization
PMU->setSysPowerDownVoltage(2600);
#endif
#ifdef PMU_IRQ