Browse Source

AP_Arming: set AP_PARAM_NO_SHIFT

mission-4.1.18
Andrew Tridgell 9 years ago
parent
commit
692e042eac
  1. 2
      libraries/AP_Arming/AP_Arming.cpp

2
libraries/AP_Arming/AP_Arming.cpp

@ -33,7 +33,7 @@ const AP_Param::GroupInfo AP_Arming::var_info[] = { @@ -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)

Loading…
Cancel
Save