XRacer: start telemetry on telem2

This commit is contained in:
Roman Bapst
2015-11-27 15:14:24 +01:00
committed by Lorenz Meier
parent a3eeafebeb
commit a953f83a45

View File

@@ -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