mirror of
https://github.com/enjoyneering/AHT10.git
synced 2024-10-03 18:09:02 -04:00
Update AHT10.cpp
This commit is contained in:
parent
fe7d409031
commit
22614a8a88
@ -105,7 +105,7 @@ uint8_t AHT10::readRawData()
|
|||||||
#endif
|
#endif
|
||||||
if (Wire.available() != 6)
|
if (Wire.available() != 6)
|
||||||
{
|
{
|
||||||
_rawDataBuffer[0] = AHT10_ERROR; //for condition when AHT10_FORCE_READ_DATA is not used
|
_rawDataBuffer[0] = AHT10_ERROR; //for condition when AHT10_USE_READ_DATA is used
|
||||||
return AHT10_ERROR; //check rxBuffer & error handler, collision on the i2c bus
|
return AHT10_ERROR; //check rxBuffer & error handler, collision on the i2c bus
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user