diff --git a/ArduPlane/Log.cpp b/ArduPlane/Log.cpp index c55c2b247e..9a4af1ab16 100644 --- a/ArduPlane/Log.cpp +++ b/ArduPlane/Log.cpp @@ -34,13 +34,6 @@ void Plane::Log_Write_Attitude(void) DataFlash.Log_Write_PID(LOG_PIDP_MSG, pitchController.get_pid_info()); DataFlash.Log_Write_PID(LOG_PIDY_MSG, yawController.get_pid_info()); DataFlash.Log_Write_PID(LOG_PIDS_MSG, steerController.get_pid_info()); - if (flight_stage == AP_Vehicle::FixedWing::FLIGHT_LAND) { - const DataFlash_Class::PID_Info *landing_info; - landing_info = landing.get_pid_info(); - if (landing_info != nullptr) { // only log LANDING PID's while in landing - DataFlash.Log_Write_PID(LOG_PIDL_MSG, *landing_info); - } - } #if AP_AHRS_NAVEKF_AVAILABLE DataFlash.Log_Write_EKF(ahrs);