From 22a5cf04d325af134a28e3d38a75dacae5517cb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Mon, 8 Aug 2022 16:29:34 +0200 Subject: [PATCH] Another one. --- src/PowerFSM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PowerFSM.cpp b/src/PowerFSM.cpp index 4c84cecf..c6444ade 100644 --- a/src/PowerFSM.cpp +++ b/src/PowerFSM.cpp @@ -12,7 +12,7 @@ static bool isPowered() { // Circumvent the battery sensing logic and assumes constant power if no battery pin or power mgmt IC - #if !defined(BATTERY_PIN) && !defined(AXP192_SLAVE_ADDRESS) + #if !defined(BATTERY_PIN) && !defined(HAS_AXP192) return true; #endif