mirror of https://github.com/arendst/Tasmota.git
AM2320 fix internal SNS driver number
This commit is contained in:
parent
d7dae7a7fa
commit
c0207d04a0
|
@ -29,7 +29,7 @@
|
|||
* and https://github.com/nightphobos/tasmota-am2320-i2c-driver as adaptation code to Tamota
|
||||
\*********************************************************************************************/
|
||||
|
||||
#define XSNS_92 92
|
||||
#define XSNS_88 88
|
||||
#define XI2C_92 92 // See I2CDEVICES.md
|
||||
|
||||
#define AM2320_ADDR 0x5C // use 7bit address: 0xB8 >> 1
|
||||
|
@ -222,4 +222,4 @@ bool Xsns92(uint8_t function)
|
|||
}
|
||||
|
||||
#endif // USE_AM2320
|
||||
#endif // USE_I2C
|
||||
#endif // USE_I2C
|
||||
|
|
Loading…
Reference in New Issue