AP_BoardConfig: rename parameter name BRD_SAFETYENABLE to BRD_SAFETY_DEFLT

This commit is contained in:
Peter Barker 2022-10-25 13:44:56 +11:00 committed by Andrew Tridgell
parent 21d27d8988
commit b4a42e61f3
1 changed files with 2 additions and 2 deletions

View File

@ -155,13 +155,13 @@ const AP_Param::GroupInfo AP_BoardConfig::var_info[] = {
#endif
#endif
// @Param: SAFETYENABLE
// @Param: SAFETY_DEFLT
// @DisplayName: Sets default state of the safety switch
// @Description: This controls the default state of the safety switch at startup. When set to 1 the safety switch will start in the safe state (flashing) at boot. When set to zero the safety switch will start in the unsafe state (solid) at startup. Note that if a safety switch is fitted the user can still control the safety state after startup using the switch. The safety state can also be controlled in software using a MAVLink message.
// @Values: 0:Disabled,1:Enabled
// @RebootRequired: True
// @User: Standard
AP_GROUPINFO("SAFETYENABLE", 3, AP_BoardConfig, state.safety_enable, BOARD_SAFETY_ENABLE_DEFAULT),
AP_GROUPINFO("SAFETY_DEFLT", 3, AP_BoardConfig, state.safety_enable, BOARD_SAFETY_ENABLE_DEFAULT),
#if AP_FEATURE_SBUS_OUT
// @Param: SBUS_OUT