Switch order booting up the internal/external sensors

This commit is contained in:
Florian Achermann
2021-07-27 10:46:41 +02:00
parent 77bd43ead3
commit 117150979e
2 changed files with 3 additions and 3 deletions
-2
View File
@@ -213,5 +213,3 @@ fi
###############################################################################
# End Optional drivers #
###############################################################################
sensors start
+3 -1
View File
@@ -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