diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-01-08 20:55:12 +0100 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-01-08 20:55:12 +0100 |
commit | 4cffd99db940a9f0cda7643842ccf17d8a3f1b48 (patch) | |
tree | c5347e39d858bcaf2d21cdb3d7de665781573a46 /ROMFS/px4fmu_common/init.d/rc.io | |
parent | 255d91d8d49ce06f065b6a0269bdfabeaa40fae4 (diff) | |
download | px4-firmware-4cffd99db940a9f0cda7643842ccf17d8a3f1b48.tar.gz px4-firmware-4cffd99db940a9f0cda7643842ccf17d8a3f1b48.tar.bz2 px4-firmware-4cffd99db940a9f0cda7643842ccf17d8a3f1b48.zip |
Major autostart rewrite
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rc.io')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.io | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.io b/ROMFS/px4fmu_common/init.d/rc.io index 24784610c..5a010cc9b 100644 --- a/ROMFS/px4fmu_common/init.d/rc.io +++ b/ROMFS/px4fmu_common/init.d/rc.io @@ -1,23 +1,19 @@ # -# Start PX4IO interface (depends on orb, commander) +# Init PX4IO interface # -if px4io start -then - # - # Allow PX4IO to recover from midair restarts. - # this is very unlikely, but quite safe and robust. - px4io recovery - # - # Disable px4io topic limiting - # - if hw_ver compare PX4FMU_V1 - then - px4io limit 200 - else - px4io limit 400 - fi +# +# Allow PX4IO to recover from midair restarts. +# this is very unlikely, but quite safe and robust. +# +px4io recovery + +# +# Adjust px4io topic limiting +# +if hw_ver compare PX4FMU_V1 +then + px4io limit 200 else - # SOS - tone_alarm error + px4io limit 400 fi |