mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 09:26:25 +08:00
Fixed CI broken build. Made TELEM2 default port.
Device port can be set via SENS_EN_CM8JL65 parameter: SENS_EN_CM8JL65 = 0 -> Disabled SENS_EN_CM8JL65 = 1 -> Enabled on TELEM2 SENS_EN_CM8JL65 = 2 -> Enabled on TELEM1 Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
committed by
Beat Küng
parent
e4381bfc87
commit
7124cbf3af
@@ -94,9 +94,16 @@ then
|
||||
fi
|
||||
|
||||
# Lanbao PSK-CM8JL65-CC5 distance sensor
|
||||
if param compare SENS_EN_CM8JL65 1
|
||||
if param greater SENS_EN_CM8JL65 0
|
||||
then
|
||||
cm8jl65 start
|
||||
if param compare SENS_EN_CM8JL65 1
|
||||
then
|
||||
cm8jl65 start
|
||||
fi
|
||||
if param compare SENS_EN_CM8JL65 2
|
||||
then
|
||||
cm8jl65 start -d "/dev/ttyS1"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user