AP_HAL: Navigator: set HAL_BARO_EXTERNAL_BUS_DEFAULT to 6

This is the bus exposed in the board for external sensors.
This is required as HAL_Linux doesn't probe all i2c buses.
This commit is contained in:
Willian Galvani 2021-08-16 21:23:54 -03:00
parent c571a27acf
commit 2d5d6171d7
1 changed files with 1 additions and 0 deletions

View File

@ -190,6 +190,7 @@
#define HAL_INS_PROBE_LIST PROBE_IMU_SPI(Invensense, "icm20602", ROTATION_ROLL_180_YAW_270)
#define HAL_MAG_PROBE_LIST PROBE_MAG_I2C(MMC5XX3, 1, 0x30, false, ROTATION_YAW_90)
#define HAL_BARO_PROBE_LIST PROBE_BARO_I2C(BMP280, 4, 0x76)
#define HAL_BARO_EXTERNAL_BUS_DEFAULT 6
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BLUE
#define HAL_GPIO_A_LED_PIN 66
#define HAL_GPIO_B_LED_PIN 67