From a9fed83d9ab106419d673951f40436434885328c Mon Sep 17 00:00:00 2001 From: code8buster Date: Tue, 16 May 2023 13:05:45 -0400 Subject: [PATCH] Make pull request targets happy --- src/Power.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Power.cpp b/src/Power.cpp index 4937e04f7..c3a34d620 100644 --- a/src/Power.cpp +++ b/src/Power.cpp @@ -263,8 +263,6 @@ bool Power::analogInit() pinMode(EXT_PWR_DETECT, INPUT); #endif -#ifndef HAS_PMU - #ifdef BATTERY_PIN LOG_DEBUG("Using analog input %d for battery level\n", BATTERY_PIN); @@ -315,10 +313,9 @@ bool Power::analogInit() batteryLevel = &analogLevel; return true; -#endif // BATTERY_PIN #else return false; -#endif // !HAS_PMU +#endif } bool Power::setup()