AP_Mount: fixed SIYI parser bug

this caused lots of lost packets
This commit is contained in:
Andrew Tridgell 2023-11-03 19:48:23 +11:00 committed by Randy Mackay
parent 6273fee892
commit 369f369f1d

View File

@ -302,6 +302,7 @@ void AP_Mount_Siyi::read_incoming_packets()
if (reset_parser) {
_parsed_msg.state = ParseState::WAITING_FOR_HEADER_LOW;
_msg_buff_len = 0;
reset_parser = false;
}
}
}