Skip to content

Commit

Permalink
AP_Relay:correct function param metadata
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
  • Loading branch information
Hwurzburg and IamPete1 committed Dec 26, 2023
1 parent 5c1ed96 commit 92d0269
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libraries/AP_Relay/AP_Relay_Params.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ const AP_Param::GroupInfo AP_Relay_Params::var_info[] = {
// @Param: FUNCTION
// @DisplayName: Relay function
// @Description: The function the relay channel is mapped to.
// @Values: 0:None
// @Values: 1:Relay
// @Values{Copter, Rover, Plane, Blimp,Sub}: 0:None
// @Values{Copter, Rover, Plane, Blimp,Sub}: 1:Relay
// @Values{Plane}: 2:Ignition
// @Values{Plane, Copter}: 3:Parachute
// @Values: 4:Camera
// @Values{Copter, Rover, Plane, Blimp,Sub}: 4:Camera
// @Values{Rover}: 5:Bushed motor reverse 1 throttle or throttle-left or omni motor 1
// @Values{Rover}: 6:Bushed motor reverse 2 throttle-right or omni motor 2
// @Values{Rover}: 7:Bushed motor reverse 3 omni motor 3
Expand All @@ -28,7 +28,7 @@ const AP_Param::GroupInfo AP_Relay_Params::var_info[] = {

// @Param: DEFAULT
// @DisplayName: Relay default state
// @Description: Should the relay default to on or off, this only applies to function Relay. All other uses will pick the appropriate default output state.
// @Description: Should the relay default to on or off, this only applies to RELAYx_FUNC "Relay" (1). All other uses will pick the appropriate default output state from within the controlling function's parameters.
// @Values: 0: Off,1:On,2:NoChange
// @User: Standard
AP_GROUPINFO("DEFAULT", 3, AP_Relay_Params, default_state, (float)DefaultState::OFF),
Expand Down

0 comments on commit 92d0269

Please sign in to comment.