Skip to content

Commit a1dd63d

Browse files
committed
Add INA260 autodetection
1 parent 09a925b commit a1dd63d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/i2c/controller.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -425,10 +425,10 @@ static const std::unordered_map<uint16_t, std::vector<const char *>>
425425
{0x2A, {"nau7802"}},
426426
{0x38, {"aht20", "max17048"}},
427427
{0x39, {"tsl2591"}},
428-
{0x40, {"htu21d", "ina219", "ms8607", "si7021", "stemma_soil"}},
429-
{0x41, {"ina219"}},
430-
{0x44, {"sht3x", "sht4x"}},
431-
{0x45, {"sht3x"}},
428+
{0x40, {"htu21d", "ina219", "ina260", "ms8607", "si7021", "stemma_soil"}},
429+
{0x41, {"ina219", "ina260"}},
430+
{0x44, {"ina260", "sht3x", "sht4x"}},
431+
{0x45, {"ina260", "sht3x"}},
432432
{0x48, {"adt7410", "pct2075", "tmp117"}},
433433
{0x49, {"adt7410", "pct2075", "tmp117", "tsl2591"}},
434434
{0x4A, {"adt7410", "pct2075", "tmp117"}},

0 commit comments

Comments
 (0)