forked from Archive/PX4-Autopilot
IO firmware: Fix condition for output enable to also allow no throttle arming to enable outputs
This commit is contained in:
parent
7b14a0258e
commit
87b801034f
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue