mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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…
x
Reference in New Issue
Block a user