Add support to enable FrSky telemetry on TELEM2

This commit is contained in:
Lorenz Meier
2016-04-30 12:00:56 +02:00
parent e7b23a557a
commit 05885e4e5f
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -510,6 +510,10 @@ then
else
# XXX We need a better way for runtime eval of shell variables,
# but this works for now
if param compare SYS_COMPANION 10
then
frsky_telemetry start -d /dev/ttyS2
fi
if param compare SYS_COMPANION 921600
then
mavlink start -d /dev/ttyS2 -b 921600 -m onboard -r 80000 -x