From c13d6580aed26f17244c16bec4f58d1def2e0d0a Mon Sep 17 00:00:00 2001 From: murata Date: Thu, 1 Feb 2018 21:58:34 +0900 Subject: [PATCH] Copter: delete \n from the log using gcs().send_text --- ArduCopter/ekf_check.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/ekf_check.cpp b/ArduCopter/ekf_check.cpp index fe0ed97954..43b007ccf0 100644 --- a/ArduCopter/ekf_check.cpp +++ b/ArduCopter/ekf_check.cpp @@ -209,7 +209,7 @@ void Copter::check_ekf_reset() if ((EKF2.getPrimaryCoreIndex() != ekf_primary_core) && (EKF2.getPrimaryCoreIndex() != -1)) { ekf_primary_core = EKF2.getPrimaryCoreIndex(); Log_Write_Error(ERROR_SUBSYSTEM_EKF_PRIMARY, ekf_primary_core); - gcs().send_text(MAV_SEVERITY_WARNING, "EKF primary changed:%d\n", (unsigned)ekf_primary_core); + gcs().send_text(MAV_SEVERITY_WARNING, "EKF primary changed:%d", (unsigned)ekf_primary_core); } #endif }