diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-08-17 15:48:13 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-08-17 15:48:13 +0200 |
commit | e9b6cfd671c72b75f2bf79bf1031ea8697f430b2 (patch) | |
tree | 19411c86ccb26ac84c925cc7c7515a6e0550c2bd /ROMFS/px4fmu_common/init.d/10_io_f330 | |
parent | 6ff3f51f88c2335f225a2a391de5ee353487a69b (diff) | |
download | px4-firmware-e9b6cfd671c72b75f2bf79bf1031ea8697f430b2.tar.gz px4-firmware-e9b6cfd671c72b75f2bf79bf1031ea8697f430b2.tar.bz2 px4-firmware-e9b6cfd671c72b75f2bf79bf1031ea8697f430b2.zip |
Fixed startup order of F330 script
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/10_io_f330')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/10_io_f330 | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/ROMFS/px4fmu_common/init.d/10_io_f330 b/ROMFS/px4fmu_common/init.d/10_io_f330 index b3fb02757..0634d650e 100644 --- a/ROMFS/px4fmu_common/init.d/10_io_f330 +++ b/ROMFS/px4fmu_common/init.d/10_io_f330 @@ -44,6 +44,11 @@ param set MAV_TYPE 2 # mavlink start usleep 5000 + +# +# Start the commander (depends on orb, mavlink) +# +commander start # # Start PX4IO interface (depends on orb, commander) @@ -77,11 +82,6 @@ mixer load /dev/pwm_output /etc/mixers/FMU_quad_x.mix # Start the sensors (depends on orb, px4io) # sh /etc/init.d/rc.sensors - -# -# Start the commander (depends on orb, mavlink) -# -commander start # # Start GPS interface (depends on orb) @@ -102,15 +102,7 @@ if [ $BOARD == fmuv1 ] then px4io limit 200 sdlog2 start -r 50 -a -b 16 - if blinkm start - then - blinkm systemstate - fi else px4io limit 400 sdlog2 start -r 200 -a -b 16 - if rgbled start - then - #rgbled systemstate - fi fi |