diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-04 09:04:01 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-04 09:04:01 +0100 |
commit | a82bcbf1d70c71f0e2b282a86029ad614a02ba6d (patch) | |
tree | 004311c018d69b26879ca0bb8735851f564a0739 /ROMFS/px4fmu_common/init.d/rcS | |
parent | cf7f59e1f32977e49be9367b6441076ef77fa884 (diff) | |
download | px4-firmware-a82bcbf1d70c71f0e2b282a86029ad614a02ba6d.tar.gz px4-firmware-a82bcbf1d70c71f0e2b282a86029ad614a02ba6d.tar.bz2 px4-firmware-a82bcbf1d70c71f0e2b282a86029ad614a02ba6d.zip |
Fix IO update when safety can not be set to on. From @zottgrammes
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rcS')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rcS | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 9118f2601..1d21d7772 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -200,8 +200,13 @@ then if px4io start then + # try to safe px4 io so motor outputs dont go crazy if px4io safety_on then + # success! no-op + else + # px4io did not respond to the safety command + px4io stop fi fi |