mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 23:07:17 +00:00
Update xsns_64_aht10.ino
This commit is contained in:
parent
2e0a06c19a
commit
b423c9716a
@ -91,7 +91,6 @@ bool AHT10Read(void)
|
||||
unsigned char readStatus(void)
|
||||
{
|
||||
unsigned char result = 0;
|
||||
|
||||
Wire.requestFrom(AHT10_ADDR, 1);
|
||||
result = Wire.read();
|
||||
return result;
|
||||
@ -100,9 +99,7 @@ unsigned char readStatus(void)
|
||||
void AHT10Detect(void)
|
||||
{
|
||||
if (I2cActive(AHT10_ADDR))
|
||||
{
|
||||
return;
|
||||
}
|
||||
{return;}
|
||||
|
||||
if (begin())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user