sht4x support,, typo fix (#2843)

This commit is contained in:
Totoo 2025-10-28 03:14:11 +01:00 committed by GitHub
parent b739dd883c
commit 3b57672dda
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 126 additions and 2 deletions

View file

@ -32,7 +32,7 @@ namespace i2cdev {
bool I2cDev_BH1750::init(uint8_t addr_) {
if (addr_ != I2CDEV_BH1750_ADDR_1) return false;
addr = addr_;
model = I2CDECMDL_BH1750;
model = I2CDEVMDL_BH1750;
query_interval = 3;
// power up