From 4312d1a5004204fdfcebd7a1bf7d2b547c42f651 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 9 Jul 2017 14:07:34 +1000 Subject: [PATCH] AP_BoardConfig: eliminate GCS_MAVLINK::send_statustext_all --- libraries/AP_BoardConfig/AP_BoardConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_BoardConfig/AP_BoardConfig.cpp b/libraries/AP_BoardConfig/AP_BoardConfig.cpp index f0987c6062..1a0299b697 100644 --- a/libraries/AP_BoardConfig/AP_BoardConfig.cpp +++ b/libraries/AP_BoardConfig/AP_BoardConfig.cpp @@ -220,7 +220,7 @@ void AP_BoardConfig::sensor_config_error(const char *reason) */ while (true) { printf("Sensor failure: %s\n", reason); - GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_ERROR, "Check BRD_TYPE: %s", reason); + gcs().send_text(MAV_SEVERITY_ERROR, "Check BRD_TYPE: %s", reason); hal.scheduler->delay(3000); } }