diff options
author | Johan Jansen <jnsn.johan@gmail.com> | 2015-03-08 14:55:51 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-04-20 09:14:12 +0200 |
commit | 3365e577e76263527fd47f17792823ca3fe3b578 (patch) | |
tree | 24d784079d5e9b54c805b9416f1ecaa5ebdb47d9 /ROMFS | |
parent | 4654d0f4fcf5d76bdd0f186c013ed1e349d08053 (diff) | |
download | px4-firmware-3365e577e76263527fd47f17792823ca3fe3b578.tar.gz px4-firmware-3365e577e76263527fd47f17792823ca3fe3b578.tar.bz2 px4-firmware-3365e577e76263527fd47f17792823ca3fe3b578.zip |
ROMFS: Update for preflight check in Commander
Diffstat (limited to 'ROMFS')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.sensors | 8 | ||||
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rcS | 8 |
2 files changed, 9 insertions, 7 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index ffded7d6b..b8a704b90 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -115,9 +115,7 @@ then fi # -# Start sensors -> preflight_check +# Start sensors # -if sensors start -then - preflight_check & -fi +sensors start + diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 2d3722f08..25a46c103 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -301,6 +301,11 @@ then then fi + # + # Sensors System (start before Commander so Preflight checks are properly run) + # + sh /etc/init.d/rc.sensors + # Needs to be this early for in-air-restarts commander start @@ -467,9 +472,8 @@ then sh /etc/init.d/rc.uavcan # - # Sensors, Logging, GPS + # Logging, GPS # - sh /etc/init.d/rc.sensors sh /etc/init.d/rc.logging if [ $GPS == yes ] |