Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
deyouslamtec committed Jul 6, 2023
1 parent 6d98d5c commit 39d988a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/src/sl_lidar_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ namespace sl {

//Tune tail
for (i = count - 1; i < count; i--) {
// To avoid array overruns, use the i < count condition
if (getDistanceQ2(nodebuffer[i]) == 0) {
continue;
}
Expand Down

0 comments on commit 39d988a

Please sign in to comment.