From 31c67095a802f19e454ad74c940ca39bb7af6ffb Mon Sep 17 00:00:00 2001 From: Johannes Winkelmann Date: Tue, 29 Jun 2021 07:39:39 -0700 Subject: [PATCH] add TODO regarding autodetect delay --- SHTSensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SHTSensor.cpp b/SHTSensor.cpp index 8d099bd..5125e0f 100644 --- a/SHTSensor.cpp +++ b/SHTSensor.cpp @@ -312,7 +312,7 @@ bool SHTSensor::init() i < sizeof(AUTO_DETECT_SENSORS) / sizeof(AUTO_DETECT_SENSORS[0]); ++i) { mSensorType = AUTO_DETECT_SENSORS[i]; - delay(40); + delay(40); // TODO: this was necessary to make SHT4x autodetect work; revisit to find root cause if (init()) { detected = true; break;