Skip to content

Commit

Permalink
fix: improve reliability of first reading
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and tyeth committed Dec 20, 2022
1 parent 8e1791a commit 9d2996b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class WipperSnapper_I2C_Driver_SEN5X : public WipperSnapper_I2C_Driver {
if (error_stop != 0) {
return false;
}
delay(1100); // Wait 1 second for sensors to start recording + 100ms for reset
u_int16_t error_start = _sen->startMeasurement();
if (error_start != 0) {
return false;
Expand Down

0 comments on commit 9d2996b

Please sign in to comment.