AP_HAL: Add BBBmini PX4FLOW I2C bus number

This commit is contained in:
mirkix 2016-12-03 08:04:34 +00:00 committed by Andrew Tridgell
parent 9dd46aa03a
commit 7e33ba04a9
1 changed files with 1 additions and 0 deletions

View File

@ -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