Rename axp192_found to pmu_found to avoid confusion

This commit is contained in:
lewishe
2022-09-08 10:32:12 +08:00
parent a50a461675
commit 9244d03cf9
7 changed files with 12 additions and 12 deletions

View File

@@ -36,7 +36,7 @@ void powerCommandsCheck()
if (shutdownAtMsec && millis() > shutdownAtMsec) {
DEBUG_MSG("Shutting down from admin command\n");
#if defined(HAS_AXP192) || defined(HAS_AXP2101)
if (axp192_found == true) {
if (pmu_found == true) {
playShutdownMelody();
power->shutdown();
}