From c7d7e2f4da9e1428edb434f7b58516cdc16c3235 Mon Sep 17 00:00:00 2001 From: Christopher BRAVO CERCAS Date: Tue, 14 Sep 2021 20:45:20 +0200 Subject: [PATCH] support AHT20 without enabling AHT1x --- tasmota/xsns_63_aht1x.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasmota/xsns_63_aht1x.ino b/tasmota/xsns_63_aht1x.ino index bb47873eb..315930c0b 100644 --- a/tasmota/xsns_63_aht1x.ino +++ b/tasmota/xsns_63_aht1x.ino @@ -19,7 +19,7 @@ */ #ifdef USE_I2C -#ifdef USE_AHT1x +#if defined(USE_AHT1x) || defined(USE_AHT2x) /*********************************************************************************************\ * AHT10/15/20 - Temperature and Humidity @@ -38,6 +38,7 @@ * * 27.08.2020 support for AHT20 added. Now, the AHT20 should support standard I2C Protokoll * and allows other I2C Devices on the bus but have only one I2C Address (0x38) + * 14.09.2021 support AHT20 without enabling AHT1x * * AHT20 I2C Address: 0x38 \*********************************************************************************************/