From 6ea2d0c693b06f98e7a60b34e8013b854471e2bf Mon Sep 17 00:00:00 2001 From: FransOv <57999223+FransOv@users.noreply.github.com> Date: Mon, 28 Feb 2022 20:58:04 +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 b20c7077e..052625249 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 + (03000 * channel)); + config |= (ADS1115_REG_CONFIG_MUX_DIFF_0_1 + (0x3000 * channel)); } // Write config register to the ADC