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:
Claudio Micheli
2019-01-04 11:11:37 +01:00
committed by Beat Küng
parent e4381bfc87
commit 7124cbf3af
4 changed files with 15 additions and 7 deletions
+9 -2
View File
@@ -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