Another one.

This commit is contained in:
Thomas Göttgens 2022-08-08 16:29:34 +02:00
parent ddc5a59ece
commit 22a5cf04d3

View File

@ -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