Browse Source

fix remote error value

mission-4.1.18
Michael Oborne 14 years ago
parent
commit
e43b711e96
  1. 1
      ArduCopter/GCS_Mavlink.pde
  2. 1
      ArduPlane/GCS_Mavlink.pde

1
ArduCopter/GCS_Mavlink.pde

@ -51,6 +51,7 @@ GCS_MAVLINK::update(void) @@ -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))

1
ArduPlane/GCS_Mavlink.pde

@ -51,6 +51,7 @@ GCS_MAVLINK::update(void) @@ -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…
Cancel
Save