Skip to content

Commit 31c6709

Browse files
committed
add TODO regarding autodetect delay
1 parent 1de2e9a commit 31c6709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SHTSensor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ bool SHTSensor::init()
312312
i < sizeof(AUTO_DETECT_SENSORS) / sizeof(AUTO_DETECT_SENSORS[0]);
313313
++i) {
314314
mSensorType = AUTO_DETECT_SENSORS[i];
315-
delay(40);
315+
delay(40); // TODO: this was necessary to make SHT4x autodetect work; revisit to find root cause
316316
if (init()) {
317317
detected = true;
318318
break;

0 commit comments

Comments
 (0)