From c0b905f6e61568fd7038aa7e93ada78163c6c6d7 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 7 Aug 2024 13:17:22 +1000 Subject: [PATCH] AR_Motors: use GCS_SEND_TEXT rather than gcs().send_text Co-authored-by: muramura --- libraries/AR_Motors/AP_MotorsUGV.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AR_Motors/AP_MotorsUGV.cpp b/libraries/AR_Motors/AP_MotorsUGV.cpp index b812d6e8c5..e27ef29cdc 100644 --- a/libraries/AR_Motors/AP_MotorsUGV.cpp +++ b/libraries/AR_Motors/AP_MotorsUGV.cpp @@ -546,7 +546,7 @@ bool AP_MotorsUGV::pre_arm_check(bool report) const for (uint8_t i=0; ienabled(relay_table[i].fun)) { if (report) { - gcs().send_text(MAV_SEVERITY_CRITICAL, "PreArm: relay function %u unassigned", uint8_t(relay_table[i].fun)); + GCS_SEND_TEXT(MAV_SEVERITY_CRITICAL, "PreArm: relay function %u unassigned", uint8_t(relay_table[i].fun)); } return false; }