From 06ebcf0ffc9baa8092a31437c4bbd5560dacf5ec Mon Sep 17 00:00:00 2001 From: nebman Date: Sat, 2 Nov 2024 01:37:07 +0100 Subject: [PATCH] Update Power.cpp fix disabled case --- src/Power.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Power.cpp b/src/Power.cpp index 0d78df232..91767a025 100644 --- a/src/Power.cpp +++ b/src/Power.cpp @@ -425,8 +425,8 @@ class AnalogBatteryLevel : public HasBatteryLevel return getINACurrent() < 0; #endif } - return isBatteryConnect() && isVbusIn(); #endif + return isBatteryConnect() && isVbusIn(); #endif }