From 608b8b0a2cae8fe273e8767b23a2f6a223576b46 Mon Sep 17 00:00:00 2001 From: Jonathan Challinger Date: Mon, 31 Mar 2014 17:57:31 +0900 Subject: [PATCH] Copter: integrate Notify arming failure when using yaw sticks --- ArduCopter/motors.pde | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduCopter/motors.pde b/ArduCopter/motors.pde index 33201bed33..c404c2861b 100644 --- a/ArduCopter/motors.pde +++ b/ArduCopter/motors.pde @@ -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; } }