Skip to content

Commit 9355d04

Browse files
committed
Add HDC302x autodetection
1 parent 4aaa036 commit 9355d04

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/i2c/controller.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,10 @@ static const std::unordered_map<uint16_t, std::vector<const char *>>
427427
{0x39, {"tsl2591"}},
428428
{0x40, {"htu21d", "ina219", "ina260", "ms8607", "si7021", "stemma_soil"}},
429429
{0x41, {"ina219", "ina260"}},
430-
{0x44, {"ina260", "sht3x", "sht4x"}},
431-
{0x45, {"ina260", "sht3x"}},
430+
{0x44, {"hdc302x", "ina260", "sht3x", "sht4x"}},
431+
{0x45, {"hdc302x", "ina260", "sht3x"}},
432+
{0x46, {"hdc302x"}},
433+
{0x47, {"hdc302x"}},
432434
{0x48, {"adt7410", "pct2075", "tmp117"}},
433435
{0x49, {"adt7410", "pct2075", "tmp117", "tsl2591"}},
434436
{0x4A, {"adt7410", "pct2075", "tmp117"}},

0 commit comments

Comments
 (0)