From d49f50db4b08430c8789850c50ebf39eccdbd7d6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 12 Oct 2016 14:42:46 +1100 Subject: [PATCH] Plane: don't output aux channels on termination --- ArduPlane/servos.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ArduPlane/servos.cpp b/ArduPlane/servos.cpp index 18f54d2422..669fefb5fc 100644 --- a/ArduPlane/servos.cpp +++ b/ArduPlane/servos.cpp @@ -819,7 +819,9 @@ void Plane::servos_output(void) channel_throttle->output(); channel_rudder->output(); - RC_Channel_aux::output_ch_all(); + if (!afs.should_crash_vehicle()) { + RC_Channel_aux::output_ch_all(); + } hal.rcout->push(); }