AP_HAL_ChibiOS: add and use AP_COMPASS_ENABLED

This commit is contained in:
Peter Barker 2023-06-20 16:36:07 +10:00 committed by Peter Barker
parent 3f4995068c
commit b3c5889d7d
1 changed files with 1 additions and 0 deletions

View File

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