mirror of https://github.com/ArduPilot/ardupilot
RC_Channel: fix auxiliary typo
This commit is contained in:
parent
11a74cf28c
commit
60b0be4a97
|
@ -396,7 +396,7 @@ float RC_Channel::stick_mixing(const float servo_in)
|
|||
}
|
||||
|
||||
//
|
||||
// support for auxillary switches:
|
||||
// support for auxiliary switches:
|
||||
//
|
||||
|
||||
void RC_Channel::reset_mode_switch()
|
||||
|
@ -463,7 +463,7 @@ bool RC_Channel::debounce_completed(int8_t position)
|
|||
}
|
||||
|
||||
//
|
||||
// support for auxillary switches:
|
||||
// support for auxiliary switches:
|
||||
//
|
||||
|
||||
// init_aux_switch_function - initialize aux functions
|
||||
|
@ -909,7 +909,7 @@ bool RC_Channel::run_aux_function(aux_func_t ch_option, AuxSwitchPos pos, AuxFun
|
|||
// @Field: TimeUS: Time since system startup
|
||||
// @Field: function: ID of triggered function
|
||||
// @Field: pos: switch position when function triggered
|
||||
// @Field: source: source of auxillary function invocation
|
||||
// @Field: source: source of auxiliary function invocation
|
||||
// @Field: result: true if function was successful
|
||||
AP::logger().Write(
|
||||
"AUXF",
|
||||
|
|
|
@ -249,7 +249,7 @@ public:
|
|||
};
|
||||
typedef enum AUX_FUNC aux_func_t;
|
||||
|
||||
// auxillary switch handling (n.b.: we store this as 2-bits!):
|
||||
// auxiliary switch handling (n.b.: we store this as 2-bits!):
|
||||
enum class AuxSwitchPos : uint8_t {
|
||||
LOW, // indicates auxiliary switch is in the low position (pwm <1200)
|
||||
MIDDLE, // indicates auxiliary switch is in the middle position (pwm >1200, <1800)
|
||||
|
@ -546,7 +546,7 @@ public:
|
|||
uint32_t last_input_ms() const { return last_update_ms; };
|
||||
|
||||
// method for other parts of the system (e.g. Button and mavlink)
|
||||
// to trigger auxillary functions
|
||||
// to trigger auxiliary functions
|
||||
bool run_aux_function(RC_Channel::AUX_FUNC ch_option, RC_Channel::AuxSwitchPos pos, RC_Channel::AuxFuncTriggerSource source) {
|
||||
return rc_channel(0)->run_aux_function(ch_option, pos, source);
|
||||
}
|
||||
|
|
|
@ -148,7 +148,7 @@ bool RC_Channels::receiver_bind(const int dsmMode)
|
|||
}
|
||||
|
||||
|
||||
// support for auxillary switches:
|
||||
// support for auxiliary switches:
|
||||
// read_aux_switches - checks aux switch positions and invokes configured actions
|
||||
void RC_Channels::read_aux_all()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue