rcS: don't stop if mc_att_control not running

This stopped the startup for setups with SYS_AUTOSTART 0.
This commit is contained in:
Julian Oes
2016-03-21 11:28:49 +01:00
committed by Lorenz Meier
parent d06c6a3f5c
commit 1d30e352fe

View File

@@ -813,7 +813,9 @@ fi
mavlink stop-all
# XXX Stop multicopter attitude controller, the controls come from snapdragon
mc_att_control stop
if mc_att_control stop
then
fi
# XXX Start snapdragon interface on serial port. On pixfalcon this is the standard telemetry port.
snapdragon_rc_pwm start -d /dev/ttyS1