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