mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 06:43:34 +08:00
rcS: don't stop Pixracer startup if no params
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user