From 5cb088fe1470b99a7a4988aecb80e09313cffd24 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 14 Sep 2015 12:03:12 +1000 Subject: [PATCH] Copter: pass display_failure to AP_Motors heli check --- ArduCopter/motors.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ArduCopter/motors.cpp b/ArduCopter/motors.cpp index 6644e5cb20..388106c28d 100644 --- a/ArduCopter/motors.cpp +++ b/ArduCopter/motors.cpp @@ -550,10 +550,7 @@ bool Copter::pre_arm_checks(bool display_failure) #endif #if FRAME_CONFIG == HELI_FRAME // check helicopter parameters - if (!motors.parameter_check()) { - if (display_failure) { - gcs_send_text_P(MAV_SEVERITY_CRITICAL,PSTR("PreArm: Check Heli Parameters")); - } + if (!motors.parameter_check(display_failure)) { return false; } #endif // HELI_FRAME