Merge pull request #11096 from kmalisiewicz/fix-lm75ad-detection

Fix LM75AD detection on different address then 0x48.
This commit is contained in:
Theo Arends 2021-02-23 11:51:11 +01:00 committed by GitHub
commit 7aa679285a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ void LM75ADDetect(void)
if (I2cActive(lm75ad_address)) {
continue; }
if (!I2cSetDevice(lm75ad_address)) {
break; // do not make the next step without a confirmed device on the bus
continue; // do not make the next step without a confirmed device on the bus
}
uint16_t buffer;
if (I2cValidRead16(&buffer, lm75ad_address, LM75_THYST_REGISTER)) {