px4_fmu-v4 init: Do not start mavlink stream on ttyS0 for the TealOne airframe

* We have RAM problems and can't afford 4 mavlink instances. This only adds logic the rc.board for the fmu-v4 that only has an effect for SYS_AUTOSTART = 4250 (TealOne airframe).
This commit is contained in:
Jacob Dahl
2019-01-11 08:21:51 -07:00
committed by Daniel Agar
parent 92ca26b111
commit f6175605cd
+7 -2
View File
@@ -89,8 +89,13 @@ then
fi
# Pixracer: start MAVLink on Wifi (ESP8266 port)
mavlink start -r 20000 -b 921600 -d /dev/ttyS0
# Pixracer: start MAVLink on Wifi (ESP8266 port). Except for the TealOne airframe.
if param compare SYS_AUTOSTART 4250
then
else
mavlink start -r 20000 -b 921600 -d /dev/ttyS0
fi
# Run FrSky Telemetry on Pixracer on the FrSky port if not enabled already
if param compare TEL_FRSKY_CONFIG 0