Autostart: Do not abort boot if sensor driver fails to start

This commit is contained in:
Lorenz Meier
2017-01-04 10:44:08 +01:00
parent 36ba5eb741
commit 45c1ad830f
+12 -4
View File
@@ -706,26 +706,34 @@ then
if param compare SENS_EN_SF0X 0
then
else
sf0x start
if sf0x start
then
fi
fi
# lightware i2c lidar sensor
if param compare SENS_EN_SF1XX 0
then
else
sf1xx start
if sf1xx start
then
fi
fi
# mb12xx sonar sensor
if param compare SENS_EN_MB12XX 1
then
mb12xx start
if mb12xx start
then
fi
fi
# teraranger one tof sensor
if param compare SENS_EN_TRONE 1
then
trone start
if trone start
then
fi
fi
if ver hwcmp PX4FMU_V4