IO firmware: Fix condition for output enable to also allow no throttle arming to enable outputs

This commit is contained in:
Lorenz Meier 2015-07-07 09:50:44 +02:00
parent 7b14a0258e
commit 87b801034f
1 changed files with 1 additions and 1 deletions

View File

@ -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]);