From 10f39c3d28d025c49a53991e06ed5a2f1c33c7a6 Mon Sep 17 00:00:00 2001 From: Clyde McQueen Date: Mon, 1 Apr 2024 12:16:11 -0700 Subject: [PATCH] GCS_Common: defer to AP_AHRS::set_origin to write logs --- libraries/GCS_MAVLink/GCS_Common.cpp | 4 ---- 1 file changed, 4 deletions(-) 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