mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 05:37:35 +08:00
Switch order booting up the internal/external sensors
This commit is contained in:
@@ -213,5 +213,3 @@ fi
|
||||
###############################################################################
|
||||
# End Optional drivers #
|
||||
###############################################################################
|
||||
|
||||
sensors start
|
||||
|
||||
@@ -332,6 +332,8 @@ else
|
||||
#
|
||||
# board sensors: rc.sensors
|
||||
#
|
||||
. ${R}etc/init.d/rc.sensors
|
||||
|
||||
set BOARD_RC_SENSORS ${R}etc/init.d/rc.board_sensors
|
||||
if [ -f $BOARD_RC_SENSORS ]
|
||||
then
|
||||
@@ -340,7 +342,7 @@ else
|
||||
fi
|
||||
unset BOARD_RC_SENSORS
|
||||
|
||||
. ${R}etc/init.d/rc.sensors
|
||||
sensors start
|
||||
|
||||
if param compare -s BAT1_SOURCE 2
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user