Copter: integrate Notify arming failure when using yaw sticks

This commit is contained in:
Jonathan Challinger 2014-03-31 17:57:31 +09:00 committed by Randy Mackay
parent f0fc0397d3
commit 608b8b0a2c

View File

@ -61,6 +61,7 @@ static void arm_motors_check()
}else{
// reset arming counter if pre-arm checks fail
arming_counter = 0;
AP_Notify::flags.arming_failed = true;
}
}
@ -84,6 +85,7 @@ static void arm_motors_check()
// Yaw is centered so reset arming counter
}else{
AP_Notify::flags.arming_failed = false;
arming_counter = 0;
}
}