Skip to content
Snippets Groups Projects
Commit 10df6729 authored by José Roberto de Souza's avatar José Roberto de Souza Committed by ChristophTobler
Browse files

ROMFS: aerofc: Do not start MAVLink in telemetry if LeddarOne is in use

parent d0baf95d
No related branches found
No related tags found
No related merge requests found
......@@ -554,12 +554,16 @@ then
if ver hwcmp AEROFC_V1
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
then
set MAVLINK_F none
else
set MAVLINK_F "-r 1200 -d /dev/ttyS3"
fi
if param greater SENS_EN_LEDDAR1 0
then
set MAVLINK_F none
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment