Skip to content

Commit

Permalink
add TODO regarding autodetect delay
Browse files Browse the repository at this point in the history
  • Loading branch information
winkj committed Jun 29, 2021
1 parent 1de2e9a commit 31c6709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SHTSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 31c6709

Please sign in to comment.