mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 04:23:33 +08:00
sdlog2: Fix mavlink output
This commit is contained in:
@@ -868,7 +868,7 @@ bool copy_if_updated(orb_id_t topic, int *handle, void *buffer)
|
|||||||
|
|
||||||
int sdlog2_thread_main(int argc, char *argv[])
|
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) {
|
if (mavlink_fd < 0) {
|
||||||
warnx("ERR: log stream, start mavlink app first");
|
warnx("ERR: log stream, start mavlink app first");
|
||||||
|
|||||||
Reference in New Issue
Block a user