From eab60e6163bf0fa738e7a5acd2d01ff707101fc7 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 9 Jul 2017 14:13:22 +1000 Subject: [PATCH] AP_Mission: eliminate GCS_MAVLINK::send_statustext_all --- libraries/AP_Mission/AP_Mission.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Mission/AP_Mission.cpp b/libraries/AP_Mission/AP_Mission.cpp index 92bd4c2093..895e958216 100644 --- a/libraries/AP_Mission/AP_Mission.cpp +++ b/libraries/AP_Mission/AP_Mission.cpp @@ -1647,10 +1647,10 @@ bool AP_Mission::jump_to_landing_sequence(void) resume(); } - GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_INFO, "Landing sequence start"); + gcs().send_text(MAV_SEVERITY_INFO, "Landing sequence start"); return true; } - GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_WARNING, "Unable to start landing sequence"); + gcs().send_text(MAV_SEVERITY_WARNING, "Unable to start landing sequence"); return false; }