HAL_ChibiOS: update mRoX21-777 I2C mask

all external
This commit is contained in:
Andrew Tridgell 2019-11-27 14:24:47 +11:00 committed by Randy Mackay
parent cda25ac27d
commit 401dfc3e0e
1 changed files with 2 additions and 7 deletions

View File

@ -91,13 +91,8 @@ USB_STRING_MANUFACTURER "mRo"
USB_STRING_PRODUCT "mRoX21-777" USB_STRING_PRODUCT "mRoX21-777"
USB_STRING_SERIAL "%SERIAL%" USB_STRING_SERIAL "%SERIAL%"
# now define the order that I2C buses are presented in the hal.i2c API # this board only has a single I2C bus so make it external
# in ArduPilot. For historical reasons inherited from HAL_PX4 the define HAL_I2C_INTERNAL_MASK 0
# 'external' I2C bus should be bus 1 in hal.i2c, and internal I2C bus
# should be bus 0. On fmuv3 the STM32 I2C1 is our external bus and
# I2C2 is our internal bus, so we need to setup the order as I2C2
# followed by I2C1 in order to achieve the conventional order that
# drivers expect
# order of I2C buses # order of I2C buses
I2C_ORDER I2C1 I2C_ORDER I2C1