forked from Archive/PX4-Autopilot
Not arming FMU in HIL mode
This commit is contained in:
parent
4298f68fcd
commit
b757ebbda8
|
@ -382,8 +382,8 @@ PX4FMU::task_main()
|
||||||
/* get new value */
|
/* get new value */
|
||||||
orb_copy(ORB_ID(actuator_armed), _t_armed, &aa);
|
orb_copy(ORB_ID(actuator_armed), _t_armed, &aa);
|
||||||
|
|
||||||
/* update PWM servo armed status */
|
/* update PWM servo armed status if armed and not locked down */
|
||||||
up_pwm_servo_arm(aa.armed);
|
up_pwm_servo_arm((aa.armed && !aa.lockdown);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue