Finished adding a '-w' option.

This commit is contained in:
Helen Oleynikova
2014-04-10 10:26:15 +02:00
parent 7b85c45555
commit e6542653b9
3 changed files with 40 additions and 13 deletions
+4
View File
@@ -181,6 +181,10 @@ MavlinkReceiver::handle_message(mavlink_message_t *msg)
break;
}
}
/* If we've received a valid message, mark the flag indicating so.
This is used in the '-w' command-line flag. */
_mavlink->set_has_received_messages(true);
}
void