Skip to content

Commit

Permalink
AP_Mount: fixed SIYI parser bug
Browse files Browse the repository at this point in the history
this caused lots of lost packets
  • Loading branch information
tridge committed Nov 3, 2023
1 parent 6273fee commit 72159c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_Mount/AP_Mount_Siyi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
Expand Down

0 comments on commit 72159c6

Please sign in to comment.