Browse Source

FW pos control: Fix mavlink output

sbg
Lorenz Meier 10 years ago
parent
commit
46428769a5
  1. 2
      src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp

2
src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp

@ -1648,7 +1648,7 @@ FixedwingPositionControl::task_main() @@ -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…
Cancel
Save