From c2026623d088dcb0dc203a878d0d813f21137a61 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 27 Jun 2021 13:32:33 +0200 Subject: [PATCH] Update xsns_88_am2320.ino --- tasmota/xsns_88_am2320.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/xsns_88_am2320.ino b/tasmota/xsns_88_am2320.ino index 88da1181e..a9b28bd73 100644 --- a/tasmota/xsns_88_am2320.ino +++ b/tasmota/xsns_88_am2320.ino @@ -30,7 +30,7 @@ \*********************************************************************************************/ #define XSNS_88 88 -#define XI2C_92 92 // See I2CDEVICES.md +#define XI2C_60 60 // See I2CDEVICES.md #define AM2320_ADDR 0x5C // use 7bit address: 0xB8 >> 1 #define INIT_MAX_RETRIES 5 @@ -196,7 +196,7 @@ void Am2320Show(bool json) bool Xsns92(uint8_t function) { - if (!I2cEnabled(XI2C_92)) { return false; } + if (!I2cEnabled(XI2C_60)) { return false; } boolean result = false;