Skip to content
Snippets Groups Projects
Commit c5b11928 authored by Robert Lefebvre's avatar Robert Lefebvre Committed by Randy Mackay
Browse files

TradHeli: Add Motor Runup check to the auto_arming check.

parent f67d95ac
No related branches found
No related tags found
No related merge requests found
......@@ -495,8 +495,14 @@ static void update_auto_armed()
}
}else{
// arm checks
#if FRAME_CONFIG == HELI_FRAME
// for tradheli if motors are armed and throttle is above zero and the motor is started, auto_armed should be true
if(motors.armed() && g.rc_3.control_in != 0 && motors.motor_runup_complete) {
#else
// if motors are armed and throttle is above zero auto_armed should be true
if(motors.armed() && g.rc_3.control_in != 0) {
#endif // HELI_FRAME
set_auto_armed(true);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment