Browse Source

XRacer: start telemetry on telem2

sbg
Roman Bapst 9 years ago committed by Lorenz Meier
parent
commit
a953f83a45
  1. 6
      ROMFS/px4fmu_common/init.d/rcS

6
ROMFS/px4fmu_common/init.d/rcS

@ -542,8 +542,12 @@ then @@ -542,8 +542,12 @@ then
# Exit from nsh to free port for mavlink
set EXIT_ON_END yes
else
# Start MAVLink on default port: ttyS1
set MAVLINK_F "-r 1200"
# Avoid using ttyS1 for MAVLink on FMUv4
if ver hwcmp PX4FMU_V4
then
set MAVLINK_F "-r 1200 -d /dev/ttyS2"
fi
fi
fi

Loading…
Cancel
Save