diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-12 08:22:50 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-12 08:22:50 +0200 |
commit | 4adc6d30b301cf4f2cc31e81f0efe1e9ba9b9d5d (patch) | |
tree | fa218075320e276c7f170fe5a5af0f308eeb3325 /ROMFS/px4fmu_common/init.d/rc.interface | |
parent | 32e1bd15b834da1f9d6a23688f893b98dc414f38 (diff) | |
parent | f4cf94b08427bfda10919de1cee6b58171ed5e50 (diff) | |
download | px4-firmware-4adc6d30b301cf4f2cc31e81f0efe1e9ba9b9d5d.tar.gz px4-firmware-4adc6d30b301cf4f2cc31e81f0efe1e9ba9b9d5d.tar.bz2 px4-firmware-4adc6d30b301cf4f2cc31e81f0efe1e9ba9b9d5d.zip |
Merged failsafe from master
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rc.interface')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.interface | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.interface b/ROMFS/px4fmu_common/init.d/rc.interface index 1de0abb58..e44cd0953 100644 --- a/ROMFS/px4fmu_common/init.d/rc.interface +++ b/ROMFS/px4fmu_common/init.d/rc.interface @@ -77,4 +77,9 @@ then pwm max -c $PWM_OUTPUTS -p $PWM_MAX fi fi + + if [ $FAILSAFE != none ] + then + pwm failsafe -d $OUTPUT_DEV $FAILSAFE + fi fi |