From 87b801034fdc897095bcdc959ae31225f3ed805b Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Tue, 7 Jul 2015 09:50:44 +0200 Subject: [PATCH] IO firmware: Fix condition for output enable to also allow no throttle arming to enable outputs --- src/modules/px4iofirmware/mixer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/px4iofirmware/mixer.cpp b/src/modules/px4iofirmware/mixer.cpp index 050750d080..1fa327613e 100644 --- a/src/modules/px4iofirmware/mixer.cpp +++ b/src/modules/px4iofirmware/mixer.cpp @@ -281,7 +281,7 @@ mixer_tick(void) isr_debug(5, "> PWM disabled"); } - if (mixer_servos_armed && should_arm) { + if (mixer_servos_armed && (should_arm || should_arm_nothrottle)) { /* update the servo outputs. */ for (unsigned i = 0; i < PX4IO_SERVO_COUNT; i++) { up_pwm_servo_set(i, r_page_servos[i]);