From 39960f7725db83133b6ce6806c41c28705d0add7 Mon Sep 17 00:00:00 2001 From: Darsey Litzenberger Date: Thu, 20 Nov 2025 23:34:22 -0700 Subject: [PATCH] x --- components/axp2101/axp2101.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/axp2101/axp2101.cpp b/components/axp2101/axp2101.cpp index 30c3653..40aad2e 100644 --- a/components/axp2101/axp2101.cpp +++ b/components/axp2101/axp2101.cpp @@ -19,7 +19,7 @@ #endif bool pmu_flag = 0; -XPowersPMU PMU; +//XPowersPMU PMU; //const uint8_t i2c_sda = CONFIG_PMU_SDA; //const uint8_t i2c_scl = CONFIG_PMU_SCL; @@ -40,8 +40,9 @@ static const char *TAG = "axp2101.sensor"; void AXP2101Component::setup() { - ESP_LOGCONFIG(TAG, "getID:0x%x", PMU.getChipID()); +#warning "axp2101.sensor basically disabled XXX" #if 0 + ESP_LOGCONFIG(TAG, "getID:0x%x", PMU.getChipID()); // Set the minimum common working voltage of the PMU VBUS input, // below this value will turn off the PMU