From 233b6089f639c1d42dae0c1efe178835774727c1 Mon Sep 17 00:00:00 2001 From: nebman Date: Sat, 2 Nov 2024 01:17:27 +0100 Subject: [PATCH] Update Power.cpp added comments and 2 extra defines to disable and swap detection direction --- src/Power.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Power.cpp b/src/Power.cpp index 8e524369d..5792bee1e 100644 --- a/src/Power.cpp +++ b/src/Power.cpp @@ -424,8 +424,8 @@ class AnalogBatteryLevel : public HasBatteryLevel return getINACurrent() < 0; #endif } -#endif return isBatteryConnect() && isVbusIn(); +#endif #endif }