From 099fc690320613bcbefad13dcd3d66dd63e169d9 Mon Sep 17 00:00:00 2001 From: Ricardo de Almeida Gonzaga Date: Thu, 12 May 2016 13:48:25 -0300 Subject: [PATCH] RC_Channel: Fix typos --- libraries/RC_Channel/RC_Channel_aux.cpp | 8 ++++---- libraries/RC_Channel/RC_Channel_aux.h | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libraries/RC_Channel/RC_Channel_aux.cpp b/libraries/RC_Channel/RC_Channel_aux.cpp index 8a63f811b4..3fdc76755d 100644 --- a/libraries/RC_Channel/RC_Channel_aux.cpp +++ b/libraries/RC_Channel/RC_Channel_aux.cpp @@ -46,7 +46,7 @@ RC_Channel_aux::output_ch(void) } /* - call output_ch() on all auxillary channels + call output_ch() on all auxiliary channels */ void RC_Channel_aux::output_ch_all(void) @@ -59,9 +59,9 @@ RC_Channel_aux::output_ch_all(void) } /* - prevent a channel from being used for auxillary functions + prevent a channel from being used for auxiliary functions This is used by the copter code to ensure channels used for motors - can't be used for auxillary functions + can't be used for auxiliary functions */ void RC_Channel_aux::disable_aux_channel(uint8_t channel) { @@ -408,7 +408,7 @@ RC_Channel_aux::move_servo(RC_Channel_aux::Aux_servo_function_t function, } /* - set the default channel an auxillary output function should be on + set the default channel an auxiliary output function should be on */ bool RC_Channel_aux::set_aux_channel_default(RC_Channel_aux::Aux_servo_function_t function, uint8_t channel) { diff --git a/libraries/RC_Channel/RC_Channel_aux.h b/libraries/RC_Channel/RC_Channel_aux.h index 6daf133280..011146aa3d 100644 --- a/libraries/RC_Channel/RC_Channel_aux.h +++ b/libraries/RC_Channel/RC_Channel_aux.h @@ -96,10 +96,10 @@ public: AP_Int8 function; ///< see Aux_servo_function_t enum - // output one auxillary channel + // output one auxiliary channel void output_ch(void); - // output all auxillary channels + // output all auxiliary channels static void output_ch_all(void); // set radio_out for a function channel @@ -126,10 +126,10 @@ public: // set servo_out static void set_servo_out_for(Aux_servo_function_t function, int16_t value); - // setup failsafe for an auxillary channel function, by pwm + // setup failsafe for an auxiliary channel function, by pwm static void set_servo_failsafe_pwm(RC_Channel_aux::Aux_servo_function_t function, uint16_t pwm); - // setup failsafe for an auxillary channel function + // setup failsafe for an auxiliary channel function static void set_servo_failsafe(Aux_servo_function_t function, RC_Channel::LimitValue limit); // set servo to a LimitValue @@ -144,10 +144,10 @@ public: static const struct AP_Param::GroupInfo var_info[]; - // assigned and enable auxillary channels + // assigned and enable auxiliary channels static void enable_aux_servos(void); - // prevent a channel from being used for auxillary functions + // prevent a channel from being used for auxiliary functions static void disable_aux_channel(uint8_t channel); // return the current function for a channel @@ -156,7 +156,7 @@ public: // refresh aux servo to function mapping static void update_aux_servo_function(void); - // set default channel for an auxillary function + // set default channel for an auxiliary function static bool set_aux_channel_default(Aux_servo_function_t function, uint8_t channel); // find first channel that a function is assigned to