HAL_ChibiOS: reduce max compasses to 1 on AP_Periph
This commit is contained in:
parent
7ad91fa1c9
commit
b7ae12a9d3
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user