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