mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
mpl3115a2:Rework per data sheet
The driver appeared to not be finished and was a clone of another driver that did not work.
This commit is contained in:
committed by
Daniel Agar
parent
e8f2f33911
commit
1682101cff
@@ -40,6 +40,12 @@ else
|
||||
adc start
|
||||
fi
|
||||
|
||||
if ver hwcmp NXPHLITE_V3
|
||||
then
|
||||
# Internal I2C
|
||||
mpl3115a2 -I start
|
||||
fi
|
||||
|
||||
if ver hwcmp AUAV_X21
|
||||
then
|
||||
# External I2C bus
|
||||
@@ -146,21 +152,6 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
if ver hwcmp PX4_SAME70XPLAINED_V1
|
||||
then
|
||||
# External I2C bus
|
||||
if hmc5883 -C -T -X start
|
||||
then
|
||||
fi
|
||||
|
||||
set BOARD_FMUV3 false
|
||||
|
||||
# Internal SPI bus mpu9250 is rotated 90 deg yaw
|
||||
if mpu9250 -R 2 start
|
||||
then
|
||||
fi
|
||||
fi
|
||||
|
||||
if ver hwcmp PX4FMU_V4
|
||||
then
|
||||
# External I2C bus
|
||||
|
||||
Reference in New Issue
Block a user