From 1e4c31c10b0cadea76cff5c64e57cc4ed3e815fd Mon Sep 17 00:00:00 2001 From: Krzysztof Malisiewicz Date: Tue, 23 Feb 2021 08:08:28 +0100 Subject: [PATCH] Fix LM75AD detection on different address then 0x48. --- tasmota/xsns_26_lm75ad.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xsns_26_lm75ad.ino b/tasmota/xsns_26_lm75ad.ino index 73c6140cc..82df8a294 100644 --- a/tasmota/xsns_26_lm75ad.ino +++ b/tasmota/xsns_26_lm75ad.ino @@ -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)) {