AP_Baro: use GCS_SEND_TEXT rather than gcs().send_text

Co-authored-by: muramura <ma2maru@gmail.com>
This commit is contained in:
Peter Barker 2024-08-07 13:17:19 +10:00 committed by Andrew Tridgell
parent edf42f799c
commit ec5eb88217
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ const AP_Param::GroupInfo AP_Baro::var_info[] = {
AP_Baro *AP_Baro::_singleton;
#if HAL_GCS_ENABLED
#define BARO_SEND_TEXT(severity, format, args...) gcs().send_text(severity, format, ##args)
#define BARO_SEND_TEXT(severity, format, args...) GCS_SEND_TEXT(severity, format, ##args)
#else
#define BARO_SEND_TEXT(severity, format, args...)
#endif