mirror of https://github.com/ArduPilot/ardupilot
hwdef: GEPRCF745BTHD: rely on custom builds for external baros
this is overflowing - it has an onboard baro, that will have to do...
This commit is contained in:
parent
61b1a2d525
commit
bfcac18eb2
|
@ -170,5 +170,13 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
|
||||||
# save some flash
|
# save some flash
|
||||||
include ../include/minimize_fpv_osd.inc
|
include ../include/minimize_fpv_osd.inc
|
||||||
|
|
||||||
|
|
||||||
|
#only enable BMP280 Baro
|
||||||
|
define AP_BARO_BACKEND_DEFAULT_ENABLED 0
|
||||||
|
undef define AP_BARO_BMP280_ENABLED
|
||||||
|
define AP_BARO_BMP280_ENABLED 1
|
||||||
|
define AP_BARO_MS56XX_ENABLED 1
|
||||||
|
|
||||||
|
# need to probe external baros even 'though we're minimised to allow custom build options:
|
||||||
undef AP_BARO_PROBE_EXTERNAL_I2C_BUSES
|
undef AP_BARO_PROBE_EXTERNAL_I2C_BUSES
|
||||||
define AP_BARO_PROBE_EXTERNAL_I2C_BUSES 1
|
define AP_BARO_PROBE_EXTERNAL_I2C_BUSES 1
|
||||||
|
|
Loading…
Reference in New Issue