forked from Archive/PX4-Autopilot
call px4_open instead of open
This commit is contained in:
parent
a94b2bc3b5
commit
dd9e3cd315
|
@ -933,7 +933,7 @@ int commander_thread_main(int argc, char *argv[])
|
||||||
mavlink_and_console_log_critical(mavlink_fd, "ERROR: BATTERY INIT FAIL");
|
mavlink_and_console_log_critical(mavlink_fd, "ERROR: BATTERY INIT FAIL");
|
||||||
}
|
}
|
||||||
|
|
||||||
mavlink_fd = open(MAVLINK_LOG_DEVICE, 0);
|
mavlink_fd = px4_open(MAVLINK_LOG_DEVICE, 0);
|
||||||
|
|
||||||
/* vehicle status topic */
|
/* vehicle status topic */
|
||||||
memset(&status, 0, sizeof(status));
|
memset(&status, 0, sizeof(status));
|
||||||
|
|
Loading…
Reference in New Issue