Not arming FMU in HIL mode

This commit is contained in:
Lorenz Meier 2012-11-26 17:45:11 +01:00
parent 4298f68fcd
commit b757ebbda8
1 changed files with 2 additions and 2 deletions

View File

@ -382,8 +382,8 @@ PX4FMU::task_main()
/* get new value */
orb_copy(ORB_ID(actuator_armed), _t_armed, &aa);
/* update PWM servo armed status */
up_pwm_servo_arm(aa.armed);
/* update PWM servo armed status if armed and not locked down */
up_pwm_servo_arm((aa.armed && !aa.lockdown);
}
}