HAL_ChibiOS: reduce max compasses to 1 on AP_Periph

This commit is contained in:
Andrew Tridgell 2019-10-10 14:19:43 +11:00
parent 7ad91fa1c9
commit b7ae12a9d3
2 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,7 @@ define AP_PARAM_MAX_EMBEDDED_PARAM 0
# disable dual GPS and GPS blending to save flash space
define GPS_MAX_RECEIVERS 1
define GPS_MAX_INSTANCES 1
define HAL_COMPASS_MAX_SENSORS 1
# GPS+MAG+BARO+Buzzer+NeoPixels
define HAL_PERIPH_ENABLE_GPS

View File

@ -141,6 +141,7 @@ define HAL_I2C_INTERNAL_MASK 0
# disable dual GPS and GPS blending to save flash space
define GPS_MAX_RECEIVERS 1
define GPS_MAX_INSTANCES 1
define HAL_COMPASS_MAX_SENSORS 1
# GPS+MAG
define HAL_PERIPH_ENABLE_GPS