From 72159c6f398808987c878f80029941a770526bbe 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 714a9cadd694e..1e4c54c8bf694 100644 --- a/libraries/AP_Mount/AP_Mount_Siyi.cpp +++ b/libraries/AP_Mount/AP_Mount_Siyi.cpp @@ -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; } } }