From 4565eed5adcdc9cd47acf3fb19324748b927ea1a Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 7 Aug 2024 13:17:20 +1000 Subject: [PATCH] AP_BoardConfig: use GCS_SEND_TEXT rather than gcs().send_text Co-authored-by: muramura --- libraries/AP_BoardConfig/IMU_heater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_BoardConfig/IMU_heater.cpp b/libraries/AP_BoardConfig/IMU_heater.cpp index 151136d172..fa33141590 100644 --- a/libraries/AP_BoardConfig/IMU_heater.cpp +++ b/libraries/AP_BoardConfig/IMU_heater.cpp @@ -108,7 +108,7 @@ void AP_BoardConfig::set_imu_temp(float current) #endif // HAL_LOGGING_ENABLED #if 0 - gcs().send_text(MAV_SEVERITY_INFO, "Heater: Out=%.1f Temp=%.1f", + GCS_SEND_TEXT(MAV_SEVERITY_INFO, "Heater: Out=%.1f Temp=%.1f", double(heater.output), double(avg)); #endif