mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_HAL_ChibiOS: add and use AP_COMPASS_ENABLED
This commit is contained in:
parent
3f4995068c
commit
b3c5889d7d
@ -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
|
||||
''')
|
||||
|
Loading…
Reference in New Issue
Block a user