Use XPowersLib 0.3.1

This commit is contained in:
2025-11-20 22:44:40 -07:00
parent 048d225e90
commit c10e9817b3

View File

@@ -61,8 +61,8 @@ def to_code(config):
yield cg.register_component(var, config)
yield i2c.register_i2c_device(var, config)
cg.add_library("lewisxhe/XPowersLib", "0.2.1")
esp32.add_idf_component(name="lewisxhe/XPowersLib", ref="v0.2.1", repo="https://github.com/lewisxhe/XPowersLib.git")
cg.add_library("lewisxhe/XPowersLib", "0.3.1")
#esp32.add_idf_component(name="lewisxhe/XPowersLib", ref="v0.2.1", repo="https://github.com/lewisxhe/XPowersLib.git")
cg.add(var.set_model(config[CONF_MODEL]))