From 3604c440009dd66e78927272ec27b62ce8d2820d Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 2 Sep 2023 15:21:35 +1000 Subject: [PATCH] AP_Scheduler: allow more libraries to compile with no HAL_GCS_ENABLED --- libraries/AP_Scheduler/PerfInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Scheduler/PerfInfo.cpp b/libraries/AP_Scheduler/PerfInfo.cpp index beb8f075fd..1a9db4a96e 100644 --- a/libraries/AP_Scheduler/PerfInfo.cpp +++ b/libraries/AP_Scheduler/PerfInfo.cpp @@ -196,7 +196,7 @@ float AP::PerfInfo::get_filtered_loop_rate_hz() const void AP::PerfInfo::update_logging() const { - gcs().send_text(MAV_SEVERITY_INFO, + GCS_SEND_TEXT(MAV_SEVERITY_INFO, "PERF: %u/%u [%lu:%lu] F=%uHz sd=%lu Ex=%lu", (unsigned)get_num_long_running(), (unsigned)get_num_loops(),