mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user