AP_Baro: add and use AP_BARO_ENABLED

This commit is contained in:
Peter Barker 2023-06-20 16:50:04 +10:00 committed by Peter Barker
parent fc55bf0bc4
commit db345ac920
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@
#define HAL_BARO_WIND_COMP_ENABLED 1
#endif
#ifndef AP_BARO_ENABLED
#define AP_BARO_ENABLED 1
#endif
// backend support:
#ifndef AP_BARO_BACKEND_DEFAULT_ENABLED
#define AP_BARO_BACKEND_DEFAULT_ENABLED 1