From a63dba5b137786c5a0a404497f0f984f5f52e81b Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 3 Feb 2016 14:37:54 +0900 Subject: [PATCH] AP_MotorsHeli_Single: servo_test becomes protected --- libraries/AP_Motors/AP_MotorsHeli_Single.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_Motors/AP_MotorsHeli_Single.h b/libraries/AP_Motors/AP_MotorsHeli_Single.h index 37f85a4c8b..924e5d9342 100644 --- a/libraries/AP_Motors/AP_MotorsHeli_Single.h +++ b/libraries/AP_Motors/AP_MotorsHeli_Single.h @@ -109,9 +109,6 @@ public: void set_acro_tail(bool set) { _acro_tail = set; } - // servo_test - move servos through full range of movement - void servo_test(); - // parameter_check - returns true if helicopter specific parameters are sensible, used for pre-arm check bool parameter_check(bool display_msg) const; @@ -138,6 +135,9 @@ protected: // write_aux - outputs pwm onto output aux channel (ch7). servo_out parameter is of the range 0 ~ 1000 void write_aux(int16_t servo_out); + // servo_test - move servos through full range of movement + void servo_test(); + // external objects we depend upon RC_Channel& _servo_aux; // output to ext gyro gain and tail direct drive esc (ch7) RC_Channel& _swash_servo_1; // swash plate servo #1