From 4a4fc8ab061ba2705cc7c290c9581a9196cf2639 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 9 Jan 2017 18:50:09 +1100 Subject: [PATCH] Copter: adjust for change to AC_PID --- ArduCopter/tuning.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArduCopter/tuning.cpp b/ArduCopter/tuning.cpp index 716f73b38a..64a008a20a 100644 --- a/ArduCopter/tuning.cpp +++ b/ArduCopter/tuning.cpp @@ -116,15 +116,15 @@ void Copter::tuning() { break; case TUNING_RATE_PITCH_FF: - attitude_control->get_heli_rate_pitch_pid().ff(tuning_value); + attitude_control->get_rate_pitch_pid().ff(tuning_value); break; case TUNING_RATE_ROLL_FF: - attitude_control->get_heli_rate_roll_pid().ff(tuning_value); + attitude_control->get_rate_roll_pid().ff(tuning_value); break; case TUNING_RATE_YAW_FF: - attitude_control->get_heli_rate_yaw_pid().ff(tuning_value); + attitude_control->get_rate_yaw_pid().ff(tuning_value); break; #endif