diff --git a/ArduCopter/GCS_Mavlink.cpp b/ArduCopter/GCS_Mavlink.cpp index 205dd12774..1078f34e22 100644 --- a/ArduCopter/GCS_Mavlink.cpp +++ b/ArduCopter/GCS_Mavlink.cpp @@ -263,7 +263,7 @@ void GCS_MAVLINK_Copter::send_pid_tuning() if (!HAVE_PAYLOAD_SPACE(chan, PID_TUNING)) { return; } - const AP_Logger::PID_Info *pid_info = nullptr; + const AP_PIDInfo *pid_info = nullptr; switch (axes[i]) { case PID_TUNING_ROLL: pid_info = &copter.attitude_control->get_rate_roll_pid().get_pid_info();