From c581a702a027d75d284d0a65334db44ec3b9de18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Tue, 13 Oct 2015 16:19:05 -0300 Subject: [PATCH] ArduCopter: Fix typo: auxiliar to auxiliary --- ArduCopter/ArduCopter.cpp | 2 +- ArduCopter/defines.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ArduCopter/ArduCopter.cpp b/ArduCopter/ArduCopter.cpp index ef3c7fd1a5..5d1ecda5e1 100644 --- a/ArduCopter/ArduCopter.cpp +++ b/ArduCopter/ArduCopter.cpp @@ -493,7 +493,7 @@ void Copter::one_hz_loop() #endif } - // update assigned functions and enable auxiliar servos + // update assigned functions and enable auxiliary servos RC_Channel_aux::enable_aux_servos(); check_usb_mux(); diff --git a/ArduCopter/defines.h b/ArduCopter/defines.h index e7dacf56e0..a0688af3a3 100644 --- a/ArduCopter/defines.h +++ b/ArduCopter/defines.h @@ -30,9 +30,9 @@ enum autopilot_yaw_mode { #define CH6_PWM_TRIGGER_LOW 1200 // values used by the ap.ch7_opt and ap.ch8_opt flags -#define AUX_SWITCH_LOW 0 // indicates auxiliar switch is in the low position (pwm <1200) -#define AUX_SWITCH_MIDDLE 1 // indicates auxiliar switch is in the middle position (pwm >1200, <1800) -#define AUX_SWITCH_HIGH 2 // indicates auxiliar switch is in the high position (pwm >1800) +#define AUX_SWITCH_LOW 0 // indicates auxiliary switch is in the low position (pwm <1200) +#define AUX_SWITCH_MIDDLE 1 // indicates auxiliary switch is in the middle position (pwm >1200, <1800) +#define AUX_SWITCH_HIGH 2 // indicates auxiliary switch is in the high position (pwm >1800) // Aux Switch enumeration enum aux_sw_func {