From ba659be5cbc30f0a1da9b86c5aa0537865207577 Mon Sep 17 00:00:00 2001 From: Leonard Hall Date: Wed, 20 Jan 2016 12:11:50 +0900 Subject: [PATCH] AP_MotorsTri: rename _yaw_servo_reverse to _yaw_reverse --- libraries/AP_Motors/AP_MotorsTri.cpp | 2 +- libraries/AP_Motors/AP_MotorsTri.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Motors/AP_MotorsTri.cpp b/libraries/AP_Motors/AP_MotorsTri.cpp index 525af754c4..6054d6a26d 100644 --- a/libraries/AP_Motors/AP_MotorsTri.cpp +++ b/libraries/AP_Motors/AP_MotorsTri.cpp @@ -38,7 +38,7 @@ const AP_Param::GroupInfo AP_MotorsTri::var_info[] = { // @Description: Yaw servo reversing. Set to 1 for normal (forward) operation. Set to -1 to reverse this channel. // @Values: -1:Reversed,1:Normal // @User: Standard - AP_GROUPINFO("YAW_SV_REV", 31, AP_MotorsTri, _yaw_servo_reverse, 1), + AP_GROUPINFO("YAW_SV_REV", 31, AP_MotorsTri, _yaw_reverse, 1), // @Param: YAW_SV_TRIM // @DisplayName: Yaw Servo Trim/Center diff --git a/libraries/AP_Motors/AP_MotorsTri.h b/libraries/AP_Motors/AP_MotorsTri.h index 5cf293463a..c6e377db7f 100644 --- a/libraries/AP_Motors/AP_MotorsTri.h +++ b/libraries/AP_Motors/AP_MotorsTri.h @@ -55,7 +55,7 @@ protected: int16_t calc_yaw_radio_output(); // calculate radio output for yaw servo, typically in range of 1100-1900 // parameters - AP_Int8 _yaw_servo_reverse; // Yaw servo signal reversing + AP_Int8 _yaw_reverse; // Reverse yaw output AP_Int16 _yaw_servo_trim; // Trim or center position of yaw servo AP_Int16 _yaw_servo_min; // Minimum angle limit of yaw servo AP_Int16 _yaw_servo_max; // Maximum angle limit of yaw servo