From 7356503e909a049ceb78cdaab45ce6b98c024240 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 7 Nov 2014 11:30:30 +1100 Subject: [PATCH] Plane: set the PX4IO OVERRIDE_IMMEDIATE flag --- ArduPlane/px4_mixer.pde | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArduPlane/px4_mixer.pde b/ArduPlane/px4_mixer.pde index 026a87adc6..6e8142a1cc 100644 --- a/ArduPlane/px4_mixer.pde +++ b/ArduPlane/px4_mixer.pde @@ -269,6 +269,9 @@ static bool setup_failsafe_mixing(void) ioctl(px4io_fd, PWM_SERVO_SET_MAX_PWM, (long unsigned int)&pwm_values); ioctl(px4io_fd, PWM_SERVO_SET_OVERRIDE_OK, 0); + // setup for immediate manual control if FMU dies + ioctl(px4io_fd, PWM_SERVO_SET_OVERRIDE_IMMEDIATE, 1); + ret = true; failed: