This commit is contained in:
2025-11-20 23:34:22 -07:00
parent 95975447dc
commit 39960f7725

View File

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