mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
fix remote error value
This commit is contained in:
parent
f79d4caeff
commit
c6eae87f8a
@ -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
Block a user