mirror of https://github.com/ArduPilot/ardupilot
fix remote error value
This commit is contained in:
parent
f79d4caeff
commit
c6eae87f8a
|
@ -51,6 +51,7 @@ GCS_MAVLINK::update(void)
|
|||
// receive new packets
|
||||
mavlink_message_t msg;
|
||||
mavlink_status_t status;
|
||||
status.packet_rx_drop_count = 0;
|
||||
|
||||
// process received bytes
|
||||
while(comm_get_available(chan))
|
||||
|
|
|
@ -51,6 +51,7 @@ GCS_MAVLINK::update(void)
|
|||
// receive new packets
|
||||
mavlink_message_t msg;
|
||||
mavlink_status_t status;
|
||||
status.packet_rx_drop_count = 0;
|
||||
|
||||
// process received bytes
|
||||
while(comm_get_available(chan))
|
||||
|
|
Loading…
Reference in New Issue