You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If CRC is correct, program sets servo and clears frame_ready. And in this case it works.
But if CRC is wrong, program won't enter to if, and frame_ready won't be cleared.
So program can hang when CRC will be wrong. It should be changed. If frame_ready is 1, but CRC is wrong, ignore this frame, and maybe send info about CRC error.
The text was updated successfully, but these errors were encountered:
lidar-avr/lidar-avr.c
Lines 107 to 115 in 30be813
If CRC is correct, program sets servo and clears
frame_ready
. And in this case it works.But if CRC is wrong, program won't enter to
if
, andframe_ready
won't be cleared.So program can hang when CRC will be wrong. It should be changed. If
frame_ready
is 1, but CRC is wrong, ignore this frame, and maybe send info about CRC error.The text was updated successfully, but these errors were encountered: