forked from Archive/PX4-Autopilot
sdlog2: Fix mavlink output
This commit is contained in:
parent
6be1e7f7e8
commit
3e55e32098
|
@ -868,7 +868,7 @@ bool copy_if_updated(orb_id_t topic, int *handle, void *buffer)
|
|||
|
||||
int sdlog2_thread_main(int argc, char *argv[])
|
||||
{
|
||||
mavlink_fd = open(MAVLINK_LOG_DEVICE, 0);
|
||||
mavlink_fd = px4_open(MAVLINK_LOG_DEVICE, 0);
|
||||
|
||||
if (mavlink_fd < 0) {
|
||||
warnx("ERR: log stream, start mavlink app first");
|
||||
|
|
Loading…
Reference in New Issue