From ff8b69fbad23a464231a6888a50490ec49be17fa Mon Sep 17 00:00:00 2001 From: Randy Mackay <rmackay9@yahoo.com> Date: Wed, 8 Jan 2020 15:54:55 +0900 Subject: [PATCH] Plane: update tuning to integrate poscon changes --- ArduPlane/tuning.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/tuning.cpp b/ArduPlane/tuning.cpp index 1f109b2a78..7bfcea9669 100644 --- a/ArduPlane/tuning.cpp +++ b/ArduPlane/tuning.cpp @@ -155,7 +155,7 @@ AP_Float *AP_Tuning_Plane::get_param_pointer(uint8_t parm) return &plane.quadplane.pos_control->get_vel_xy_pid().kI(); case TUNING_VZ_P: - return &plane.quadplane.pos_control->get_vel_z_p().kP(); + return &plane.quadplane.pos_control->get_vel_z_pid().kP(); case TUNING_AZ_P: return &plane.quadplane.pos_control->get_accel_z_pid().kP();