From 39632e4a40dc8d724efb0731ab9e2a825bf68bca Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 3 Nov 2023 19:48:23 +1100 Subject: [PATCH] AP_Mount: fixed SIYI parser bug this caused lots of lost packets --- libraries/AP_Mount/AP_Mount_Siyi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Mount/AP_Mount_Siyi.cpp b/libraries/AP_Mount/AP_Mount_Siyi.cpp index 6737c06bbc..36747b60f6 100644 --- a/libraries/AP_Mount/AP_Mount_Siyi.cpp +++ b/libraries/AP_Mount/AP_Mount_Siyi.cpp @@ -281,6 +281,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; } } }