Update xsns_88_am2320.ino

This commit is contained in:
Theo Arends 2021-06-27 13:32:33 +02:00 committed by GitHub
parent 7d161ad8c6
commit c2026623d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;