From ddb8796d2c0d38c41b7c5245e73c0517c0532c43 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 29 Oct 2014 15:59:54 +0900 Subject: [PATCH] Copter: return false when arming fails --- ArduCopter/motors.pde | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ArduCopter/motors.pde b/ArduCopter/motors.pde index 80217627f9..6147efa3b2 100644 --- a/ArduCopter/motors.pde +++ b/ArduCopter/motors.pde @@ -205,8 +205,7 @@ static bool init_arm_motors() motors.output_min(); failsafe_enable(); AP_Notify::flags.armed = false; - AP_Notify::flags.arming_failed = false; - return; + return false; } #if SPRAYER == ENABLED