-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
buggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
In the file "Arduino-SRF/src/SonarSRF.cpp" there is a while (Wire.available() < length); after the Wire.requestFrom(). That line can be removed, because there is nothing to wait for.
When the Wire.requestFrom() returns, the I2C transaction on the bus has completely finished and the received data is waiting in a buffer in the Wire library.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
buggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed