mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
FW pos control: Fix mavlink output
This commit is contained in:
parent
71fc0f5bc4
commit
46428769a5
@ -1648,7 +1648,7 @@ FixedwingPositionControl::task_main()
|
||||
/* XXX Hack to get mavlink output going */
|
||||
if (_mavlink_fd < 0) {
|
||||
/* try to open the mavlink log device every once in a while */
|
||||
_mavlink_fd = open(MAVLINK_LOG_DEVICE, 0);
|
||||
_mavlink_fd = px4_open(MAVLINK_LOG_DEVICE, 0);
|
||||
}
|
||||
|
||||
/* load local copies */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user