mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 12:30:27 +08:00
ROMFS: aerofc: Do not start MAVLink in telemetry if LeddarOne is in use
This commit is contained in:
committed by
ChristophTobler
parent
d0baf95df3
commit
10df6729f3
@@ -554,12 +554,16 @@ then
|
|||||||
|
|
||||||
if ver hwcmp AEROFC_V1
|
if ver hwcmp AEROFC_V1
|
||||||
then
|
then
|
||||||
# Only start mavlink if the Benewake TFMini isn't being used
|
set MAVLINK_F "-r 1200 -d /dev/ttyS3"
|
||||||
|
|
||||||
|
# Only start mavlink if the Benewake TFMini or LeddarOne isn't being used
|
||||||
if param greater SENS_EN_TFMINI 0
|
if param greater SENS_EN_TFMINI 0
|
||||||
then
|
then
|
||||||
set MAVLINK_F none
|
set MAVLINK_F none
|
||||||
else
|
fi
|
||||||
set MAVLINK_F "-r 1200 -d /dev/ttyS3"
|
if param greater SENS_EN_LEDDAR1 0
|
||||||
|
then
|
||||||
|
set MAVLINK_F none
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user