From 4aa6614f0c05ad3df19098bb39b0e8bd34d3922f Mon Sep 17 00:00:00 2001 From: FransOv <57999223+FransOv@users.noreply.github.com> Date: Mon, 28 Feb 2022 20:54:35 +0100 Subject: [PATCH] Update xsns_12_ads1115.ino --- tasmota/xsns_12_ads1115.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xsns_12_ads1115.ino b/tasmota/xsns_12_ads1115.ino index 50a164dff..b20c7077e 100644 --- a/tasmota/xsns_12_ads1115.ino +++ b/tasmota/xsns_12_ads1115.ino @@ -147,7 +147,7 @@ void Ads1115StartComparator(uint8_t channel, uint16_t mode) if (Ads1115.channels == ADS1115_SINGLE_CHANNELS) { config |= (ADS1115_REG_CONFIG_MUX_SINGLE_0 + (0x1000 * channel)); } else { - config |= (ADS1115_REG_CONFIG_MUX_DIFF_0_1 + (0x1000 * channel)); + config |= (ADS1115_REG_CONFIG_MUX_DIFF_0_1 + (03000 * channel)); } // Write config register to the ADC