diff --git a/libraries/GCS_MAVLink/GCS_Common.cpp b/libraries/GCS_MAVLink/GCS_Common.cpp index 077e26b922..f7d17bd2d7 100644 --- a/libraries/GCS_MAVLink/GCS_Common.cpp +++ b/libraries/GCS_MAVLink/GCS_Common.cpp @@ -3586,10 +3586,6 @@ void GCS_MAVLINK::set_ekf_origin(const Location& loc) return; } -#if HAL_LOGGING_ENABLED - ahrs.Log_Write_Home_And_Origin(); -#endif - // send ekf origin to GCS if (!try_send_message(MSG_ORIGIN)) { // try again later