Plane: don't start a transition while disarmed

this can caused flooding of the GCS console while disarmed in FBWA
mode
This commit is contained in:
Andrew Tridgell 2017-07-30 14:53:38 +10:00 committed by Tom Pittenger
parent 975d2fd0d1
commit 909f109b3f
1 changed files with 1 additions and 0 deletions

View File

@ -1190,6 +1190,7 @@ void QuadPlane::update_transition(void)
if (have_airspeed &&
assistance_needed(aspeed) &&
!is_tailsitter() &&
hal.util->get_soft_armed() &&
(plane.auto_throttle_mode ||
plane.channel_throttle->get_control_in()>0 ||
plane.is_flying())) {