Skip to content

Commit 4aaa036

Browse files
committed
Add LPS28DFW autodetection
1 parent 799d422 commit 4aaa036

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
@@ -441,8 +441,8 @@ static const std::unordered_map<uint16_t, std::vector<const char *>>
441441
{0x52, {"ens160"}},
442442
{0x53, {"ens160", "ltr390"}},
443443
{0x59, {"sgp40"}},
444-
{0x5C, {"bh1750", "lps22hb", "lps25hb"}},
445-
{0x5D, {"lps22hb", "lps25hb"}},
444+
{0x5C, {"bh1750", "lps22hb", "lps25hb", "lps28dfw"}},
445+
{0x5D, {"lps22hb", "lps25hb", "lps28dfw"}},
446446
{0x5F, {"hts2221"}},
447447
{0x60, {"mpl115a2", "vncl4040"}},
448448
{0x61, {"scd30"}},

0 commit comments

Comments
 (0)