From cf30a620113d1640f78988d0217a83baf81634ab Mon Sep 17 00:00:00 2001 From: Darsey Litzenberger Date: Thu, 20 Nov 2025 23:03:49 -0700 Subject: [PATCH] WIP esp-idf support --- components/axp2101/axp2101.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/axp2101/axp2101.cpp b/components/axp2101/axp2101.cpp index 8edb040..7bd96ac 100644 --- a/components/axp2101/axp2101.cpp +++ b/components/axp2101/axp2101.cpp @@ -1,7 +1,10 @@ #include "axp2101.h" #include "esp_sleep.h" #include "esphome/core/log.h" + +#ifdef USE_ARDUINO #include +#endif #ifndef CONFIG_PMU_SDA #define CONFIG_PMU_SDA 21