mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 14:48:28 -04:00
AP_Mount: fixed SIYI parser bug
this caused lots of lost packets
This commit is contained in:
parent
36dabc0985
commit
6a97817fa6
@ -281,6 +281,7 @@ void AP_Mount_Siyi::read_incoming_packets()
|
|||||||
if (reset_parser) {
|
if (reset_parser) {
|
||||||
_parsed_msg.state = ParseState::WAITING_FOR_HEADER_LOW;
|
_parsed_msg.state = ParseState::WAITING_FOR_HEADER_LOW;
|
||||||
_msg_buff_len = 0;
|
_msg_buff_len = 0;
|
||||||
|
reset_parser = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user