Skip to content

Commit 1171509

Browse files
committed
Switch order booting up the internal/external sensors
1 parent 77bd43e commit 1171509

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ROMFS/px4fmu_common/init.d/rc.sensors

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,5 +213,3 @@ fi
213213
###############################################################################
214214
# End Optional drivers #
215215
###############################################################################
216-
217-
sensors start

ROMFS/px4fmu_common/init.d/rcS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ else
332332
#
333333
# board sensors: rc.sensors
334334
#
335+
. ${R}etc/init.d/rc.sensors
336+
335337
set BOARD_RC_SENSORS ${R}etc/init.d/rc.board_sensors
336338
if [ -f $BOARD_RC_SENSORS ]
337339
then
@@ -340,7 +342,7 @@ else
340342
fi
341343
unset BOARD_RC_SENSORS
342344

343-
. ${R}etc/init.d/rc.sensors
345+
sensors start
344346

345347
if param compare -s BAT1_SOURCE 2
346348
then

0 commit comments

Comments
 (0)