fix remote error value

This commit is contained in:
Michael Oborne 2011-09-15 18:26:59 +08:00
parent 42abbb41fd
commit e43b711e96
2 changed files with 2 additions and 0 deletions

View File

@ -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))

View File

@ -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))