From 7e33ba04a9b4b1cbe85db59ce37af22b3c846369 Mon Sep 17 00:00:00 2001 From: mirkix Date: Sat, 3 Dec 2016 08:04:34 +0000 Subject: [PATCH] AP_HAL: Add BBBmini PX4FLOW I2C bus number --- libraries/AP_HAL/board/linux.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_HAL/board/linux.h b/libraries/AP_HAL/board/linux.h index b97e117cf4..58b9a5b25e 100644 --- a/libraries/AP_HAL/board/linux.h +++ b/libraries/AP_HAL/board/linux.h @@ -225,6 +225,7 @@ /* HMC5843 can be an external compass */ #define HAL_COMPASS_HMC5843_I2C_BUS 2 #define HAL_COMPASS_HMC5843_I2C_ADDR 0x1E +#define HAL_OPTFLOW_PX4FLOW_I2C_BUS 2 #define HAL_OPTFLOW_ONBOARD_VDEV_PATH "/dev/video0" #define HAL_OPTFLOW_ONBOARD_SENSOR_WIDTH 320 #define HAL_OPTFLOW_ONBOARD_SENSOR_HEIGHT 240