Fix IO update when safety can not be set to on. From @zottgrammes

This commit is contained in:
Lorenz Meier
2015-03-04 09:04:01 +01:00
parent cf7f59e1f3
commit a82bcbf1d7

View File

@@ -200,8 +200,13 @@ then
if px4io start if px4io start
then then
# try to safe px4 io so motor outputs dont go crazy
if px4io safety_on if px4io safety_on
then then
# success! no-op
else
# px4io did not respond to the safety command
px4io stop
fi fi
fi fi