logger: subscribe to mavlink_log messages and write them to the log

This commit is contained in:
Beat Küng
2016-06-02 07:32:49 +02:00
committed by Lorenz Meier
parent 659ac8faf2
commit 069dd01cb0
6 changed files with 67 additions and 19 deletions
+1
View File
@@ -64,6 +64,7 @@ __EXPORT void mavlink_vasprintf(int severity, orb_advert_t *mavlink_log_pub, con
struct mavlink_log_s log_msg;
log_msg.severity = severity;
log_msg.timestamp = hrt_absolute_time();
va_list ap;