rcS: don't stop Pixracer startup if no params

This commit is contained in:
Julian Oes
2016-03-27 12:40:10 +02:00
committed by Lorenz Meier
parent 07246efef9
commit d06c6a3f5c
+4 -2
View File
@@ -315,7 +315,7 @@ then
# Sensors System (start before Commander so Preflight checks are properly run) # Sensors System (start before Commander so Preflight checks are properly run)
# #
sh /etc/init.d/rc.sensors sh /etc/init.d/rc.sensors
if [ $GPS == yes ] if [ $GPS == yes ]
then then
if [ $GPS_FAKE == yes ] if [ $GPS_FAKE == yes ]
@@ -543,7 +543,9 @@ then
# Transitional support: Disable safety on all Pixracer boards # Transitional support: Disable safety on all Pixracer boards
if ver hwcmp PX4FMU_V4 if ver hwcmp PX4FMU_V4
then then
param set CBRK_IO_SAFETY 22027 if param set CBRK_IO_SAFETY 22027
then
fi
fi fi
# #