Fix LM75AD detection on different address then 0x48.

This commit is contained in:
Krzysztof Malisiewicz 2021-02-23 08:08:28 +01:00
parent 6ce3e6be7c
commit 1e4c31c10b
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)) {