From 49a4283d0dfff7c140ecb946111592b4618ca62c Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Wed, 13 Oct 2021 10:32:46 -0400 Subject: [PATCH] boards: px4_fmu-v5x restore rc.board_mavlink - this was unintentionally removed in https://github.com/PX4/PX4-Autopilot/pull/16180 --- boards/px4/fmu-v5x/init/rc.board_mavlink | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 boards/px4/fmu-v5x/init/rc.board_mavlink diff --git a/boards/px4/fmu-v5x/init/rc.board_mavlink b/boards/px4/fmu-v5x/init/rc.board_mavlink new file mode 100644 index 0000000000..263ca7ee05 --- /dev/null +++ b/boards/px4/fmu-v5x/init/rc.board_mavlink @@ -0,0 +1,10 @@ +#!/bin/sh +# +# board specific MAVLink startup script. +#------------------------------------------------------------------------------ + +if ver hwtypecmp V5Xa0 V5X91 V5Xa1 +then + # Start MAVLink on the UART connected to the mission computer + mavlink start -d /dev/ttyS4 -b 3000000 -r 290000 -m onboard_low_bandwidth -x -z +fi