Skip to content

Commit 92ecd21

Browse files
committed
Add HTU31D autodetection
1 parent 9355d04 commit 92ecd21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/i2c/controller.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,8 @@ 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", "ina260", "ms8607", "si7021", "stemma_soil"}},
429-
{0x41, {"ina219", "ina260"}},
428+
{0x40, {"htu21d", "htu31d", "ina219", "ina260", "ms8607", "si7021", "stemma_soil"}},
429+
{0x41, {"htu31d", "ina219", "ina260"}},
430430
{0x44, {"hdc302x", "ina260", "sht3x", "sht4x"}},
431431
{0x45, {"hdc302x", "ina260", "sht3x"}},
432432
{0x46, {"hdc302x"}},

0 commit comments

Comments
 (0)