AP_HAL_ChibiOS: 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 db345ac920
commit 3657852e30

View File

@ -3275,6 +3275,7 @@ INCLUDE common.ld
#define AP_BATTERY_ENABLED defined(HAL_PERIPH_ENABLE_BATTERY) #define AP_BATTERY_ENABLED defined(HAL_PERIPH_ENABLE_BATTERY)
#define AP_AHRS_ENABLED defined(HAL_PERIPH_ENABLE_AHRS) #define AP_AHRS_ENABLED defined(HAL_PERIPH_ENABLE_AHRS)
#define AP_COMPASS_ENABLED defined(HAL_PERIPH_ENABLE_MAG) #define AP_COMPASS_ENABLED defined(HAL_PERIPH_ENABLE_MAG)
#define AP_BARO_ENABLED defined(HAL_PERIPH_ENABLE_BARO)
// end AP_Periph defaults // end AP_Periph defaults
''') ''')