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 2857b57d92
commit a610279eb0
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 # disable dual GPS and GPS blending to save flash space
define GPS_MAX_RECEIVERS 1 define GPS_MAX_RECEIVERS 1
define GPS_MAX_INSTANCES 1 define GPS_MAX_INSTANCES 1
define HAL_COMPASS_MAX_SENSORS 1
# GPS+MAG+BARO+Buzzer+NeoPixels # GPS+MAG+BARO+Buzzer+NeoPixels
define HAL_PERIPH_ENABLE_GPS 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 # disable dual GPS and GPS blending to save flash space
define GPS_MAX_RECEIVERS 1 define GPS_MAX_RECEIVERS 1
define GPS_MAX_INSTANCES 1 define GPS_MAX_INSTANCES 1
define HAL_COMPASS_MAX_SENSORS 1
# GPS+MAG # GPS+MAG
define HAL_PERIPH_ENABLE_GPS define HAL_PERIPH_ENABLE_GPS