From 22614a8a88413f23602fe5efe341aaa4ac5d17ef Mon Sep 17 00:00:00 2001 From: enjoyneering Date: Tue, 21 Jan 2020 14:15:48 -0500 Subject: [PATCH] Update AHT10.cpp --- src/AHT10.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AHT10.cpp b/src/AHT10.cpp index dfb60ba..4ca2b4e 100644 --- a/src/AHT10.cpp +++ b/src/AHT10.cpp @@ -105,7 +105,7 @@ uint8_t AHT10::readRawData() #endif 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 }