hd-zero / hdzero-goggle

MIT License
263 stars 76 forks source link

fix random go_sleep and record interruptions #386

Closed ligenxxxx closed 10 months ago

ligenxxxx commented 10 months ago

When a complete osd packet from RF is received through dm5680, it will be sent to v536. But data from RF is not entirely correct, especially when the signal is weak. In the past, 5680 did not check the correctness of packets, resulting in sometimes packet len errors. (Exceptionally) excessively large and incorrect packet sizes would eventually cause errors when v536 received and parsed data from 5680. Now every osd data packet from r will be checked and will be handed over to v536 for analysis after it is confirmed to be correct.