mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-20 17:26:30 +00:00
Fix ESP32 Core 2.x HTU detection speed
This commit is contained in:
parent
8db8383d59
commit
58935bf708
@ -204,7 +204,7 @@ bool HtuRead(void)
|
||||
void HtuDetect(void)
|
||||
{
|
||||
Htu.address = HTU21_ADDR;
|
||||
if (I2cActive(Htu.address)) { return; }
|
||||
if (!I2cSetDevice(Htu.address)) { return; }
|
||||
|
||||
Htu.type = HtuReadDeviceId();
|
||||
if (Htu.type) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user