mirror of https://github.com/meshcore-dev/MeshCore
Browse Source
Prevent I2C sensor enumeration from picking up invalid sensors in case of address conflicts. E.g. by default BME680 has the same address as BME280 (0x76). BME680 and other BME sensors check for the correct chip id in begin(), but BME680_BSEC does not. INA260 and INA3221 already check IDs in begin(). INA219 is older and doesn't expose chip ID, it may conflict with other sensors if enabled but not present.pull/2746/head
1 changed files with 12 additions and 2 deletions
Loading…
Reference in new issue