mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 02:00:35 +08:00
FW pos control: Fix mavlink output
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user