mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 22:32:11 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user