mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 12:48:54 +08:00
logger: subscribe to mavlink_log messages and write them to the log
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user