Skip to content

Conversation

@oneWayOut
Copy link
Contributor

The variable status->msg_received is set to zero at the beginning of function mavlink_frame_char_buffer() as below:

status->msg_received = MAVLINK_FRAMING_INCOMPLETE;

So the condition expression if (status->msg_received) in the following switch case statement is always false, which could be deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant