Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Commit

Permalink
Hotfix for MB1242 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeshwar-Krishnan committed Jan 1, 2023
1 parent 7596312 commit b828e78
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public double getDistance(DistanceUnit unit) {
byte[] data = pollForReadResult(2);

while(data.length == 0){
tx = new LynxI2cReadMultipleBytesCommand(module, bus, address, 2);
try {
tx.send();
} catch (InterruptedException e) {
Expand Down

0 comments on commit b828e78

Please sign in to comment.