mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 00:31:36 +08:00
NXPhlite work arround to internal i2c routed to external connector.
Since the only device on the bus is the barro, int or ext does not apply. This will be fixed on the rev > RC15. This defines an alias that can be used to condition the buss logic connection logic px4_i2c_bus_external to return external.
This commit is contained in:
committed by
Daniel Agar
parent
678627d783
commit
e35be68fd4
@@ -107,8 +107,11 @@ fi
|
||||
|
||||
if ver hwcmp NXPHLITE_V3
|
||||
then
|
||||
# Internal I2C (baro)
|
||||
mpl3115a2 -I start
|
||||
# External I2C bus
|
||||
hmc5883 -C -X start
|
||||
|
||||
# Onboard I2C (baro) but an external bus on V3 RC15
|
||||
mpl3115a2 -X start
|
||||
|
||||
# Internal SPI (accel + mag)
|
||||
fxos8701cq start -a 8 -R 0
|
||||
|
||||
Reference in New Issue
Block a user