From 6fd687e8619f3933b9fce16aa7493bb0ea9252b4 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 25 Feb 2019 12:44:19 +1100 Subject: [PATCH] AP_AHRS: retry sending home/origin if it fails --- libraries/AP_AHRS/AP_AHRS_DCM.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_AHRS/AP_AHRS_DCM.cpp b/libraries/AP_AHRS/AP_AHRS_DCM.cpp index 1caa80178a..997560e6f4 100644 --- a/libraries/AP_AHRS/AP_AHRS_DCM.cpp +++ b/libraries/AP_AHRS/AP_AHRS_DCM.cpp @@ -1055,8 +1055,8 @@ bool AP_AHRS_DCM::set_home(const Location &loc) Log_Write_Home_And_Origin(); // send new home and ekf origin to GCS - gcs().send_home(); - gcs().send_ekf_origin(); + gcs().send_message(MSG_HOME); + gcs().send_message(MSG_ORIGIN); return true; }