mirror of https://github.com/ArduPilot/ardupilot
AP_Baro: move from HAL_NO_GCS to HAL_GCS_ENABLED
This commit is contained in:
parent
22e9ad4818
commit
cf9a774bc2
|
@ -223,10 +223,10 @@ const AP_Param::GroupInfo AP_Baro::var_info[] = {
|
|||
// singleton instance
|
||||
AP_Baro *AP_Baro::_singleton;
|
||||
|
||||
#ifdef HAL_NO_GCS
|
||||
#define BARO_SEND_TEXT(severity, format, args...)
|
||||
#else
|
||||
#if HAL_GCS_ENABLED
|
||||
#define BARO_SEND_TEXT(severity, format, args...) gcs().send_text(severity, format, ##args)
|
||||
#else
|
||||
#define BARO_SEND_TEXT(severity, format, args...)
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue