AP_HAL: fix BeagleBone Blue external I2C number

This commit is contained in:
mirkix 2018-02-11 22:06:56 +01:00 committed by Randy Mackay
parent 84bf401fea
commit 3aa211b325

View File

@ -266,8 +266,8 @@
/* HMC5843 can be an external compass */
#define HAL_COMPASS_HMC5843_I2C_BUS 1
#define HAL_COMPASS_HMC5843_I2C_ADDR 0x1E
#define HAL_OPTFLOW_PX4FLOW_I2C_BUS 2
#define HAL_RANGEFINDER_LIGHTWARE_I2C_BUS 2
#define HAL_OPTFLOW_PX4FLOW_I2C_BUS 1
#define HAL_RANGEFINDER_LIGHTWARE_I2C_BUS 1
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_POCKET
#define HAL_GPIO_A_LED_PIN 27
#define HAL_GPIO_B_LED_PIN 26