From 692e042eac1affdcb95dbca9983b913d4add96ee Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 18 Mar 2016 12:33:45 +1100 Subject: [PATCH] AP_Arming: set AP_PARAM_NO_SHIFT --- libraries/AP_Arming/AP_Arming.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Arming/AP_Arming.cpp b/libraries/AP_Arming/AP_Arming.cpp index b38ae3a04e..22c24835a5 100644 --- a/libraries/AP_Arming/AP_Arming.cpp +++ b/libraries/AP_Arming/AP_Arming.cpp @@ -33,7 +33,7 @@ const AP_Param::GroupInfo AP_Arming::var_info[] = { // @Description: Arming disabled until some requirements are met. If 0, there are no requirements (arm immediately). If 1, require rudder stick or GCS arming before arming motors and send THR_MIN PWM to throttle channel when disarmed. If 2, require rudder stick or GCS arming and send 0 PWM to throttle channel when disarmed. See the ARMING_CHECK_* parameters to see what checks are done before arming. Note, if setting this parameter to 0 a reboot is required to arm the plane. Also note, even with this parameter at 0, if ARMING_CHECK parameter is not also zero the plane may fail to arm throttle at boot due to a pre-arm check failure. // @Values: 0:Disabled,1:THR_MIN PWM when disarmed,2:0 PWM when disarmed // @User: Advanced - AP_GROUPINFO("REQUIRE", 0, AP_Arming, require, 1), + AP_GROUPINFO_FLAGS("REQUIRE", 0, AP_Arming, require, 1, AP_PARAM_NO_SHIFT), // @Param: CHECK // @DisplayName: Arm Checks to Peform (bitmask)