mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-05 15:58:52 +08:00
IO firmware: Fix condition for output enable to also allow no throttle arming to enable outputs
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user