mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 01:17:51 +08:00
rc.sensors:Align with master
This commit is contained in:
committed by
Daniel Agar
parent
f52338143b
commit
8e4e4fae36
@@ -44,6 +44,7 @@ if ver hwcmp NXPHLITE_V3
|
|||||||
then
|
then
|
||||||
# Internal I2C
|
# Internal I2C
|
||||||
mpl3115a2 -I start
|
mpl3115a2 -I start
|
||||||
|
|
||||||
# Internal SPI
|
# Internal SPI
|
||||||
fxos8700cq start -a 8 -R 0
|
fxos8700cq start -a 8 -R 0
|
||||||
fi
|
fi
|
||||||
@@ -142,16 +143,10 @@ fi
|
|||||||
if ver hwcmp PX4_SAME70XPLAINED_V1
|
if ver hwcmp PX4_SAME70XPLAINED_V1
|
||||||
then
|
then
|
||||||
# External I2C bus
|
# External I2C bus
|
||||||
if hmc5883 -C -T -X start
|
hmc5883 -C -T -X start
|
||||||
then
|
|
||||||
fi
|
|
||||||
|
|
||||||
set BOARD_FMUV3 false
|
|
||||||
|
|
||||||
# Internal SPI bus mpu9250 is rotated 90 deg yaw
|
# Internal SPI bus mpu9250 is rotated 90 deg yaw
|
||||||
if mpu9250 -R 2 start
|
mpu9250 -R 2 start
|
||||||
then
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ver hwcmp PX4FMU_V4
|
if ver hwcmp PX4FMU_V4
|
||||||
|
|||||||
Reference in New Issue
Block a user