mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
APM_OBC: set param "Enable" to be FLAG_ENABLE and move to top
This commit is contained in:
parent
28648665b9
commit
9b33280795
@ -30,6 +30,13 @@ extern const AP_HAL::HAL& hal;
|
|||||||
|
|
||||||
// table of user settable parameters
|
// table of user settable parameters
|
||||||
const AP_Param::GroupInfo APM_OBC::var_info[] = {
|
const AP_Param::GroupInfo APM_OBC::var_info[] = {
|
||||||
|
|
||||||
|
// @Param: ENABLE
|
||||||
|
// @DisplayName: Enable Advanced Failsafe
|
||||||
|
// @Description: This enables the advanced failsafe system. If this is set to zero (disable) then all the other AFS options have no effect
|
||||||
|
// @User: Advanced
|
||||||
|
AP_GROUPINFO_FLAGS("ENABLE", 11, APM_OBC, _enable, 0, AP_PARAM_FLAG_ENABLE),
|
||||||
|
|
||||||
// @Param: MAN_PIN
|
// @Param: MAN_PIN
|
||||||
// @DisplayName: Manual Pin
|
// @DisplayName: Manual Pin
|
||||||
// @Description: This sets a digital output pin to set high when in manual mode
|
// @Description: This sets a digital output pin to set high when in manual mode
|
||||||
@ -93,11 +100,7 @@ const AP_Param::GroupInfo APM_OBC::var_info[] = {
|
|||||||
// @User: Advanced
|
// @User: Advanced
|
||||||
AP_GROUPINFO("QNH_PRESSURE", 10, APM_OBC, _qnh_pressure, 0),
|
AP_GROUPINFO("QNH_PRESSURE", 10, APM_OBC, _qnh_pressure, 0),
|
||||||
|
|
||||||
// @Param: ENABLE
|
// *NOTE* index 11 is "Enable" and is moved to the top to allow AP_PARAM_FLAG_ENABLE
|
||||||
// @DisplayName: Enable Advanced Failsafe
|
|
||||||
// @Description: This enables the advanced failsafe system. If this is set to zero (disable) then all the other AFS options have no effect
|
|
||||||
// @User: Advanced
|
|
||||||
AP_GROUPINFO("ENABLE", 11, APM_OBC, _enable, 0),
|
|
||||||
|
|
||||||
// *NOTE* index 12 of AP_Int16 RC_FAIL_MS was depreciated. Replaced by RC_FAIL_TIME.
|
// *NOTE* index 12 of AP_Int16 RC_FAIL_MS was depreciated. Replaced by RC_FAIL_TIME.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user