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:
David Sidrane
2017-06-16 17:00:55 -10:00
committed by Daniel Agar
parent e8f2f33911
commit 1682101cff
4 changed files with 220 additions and 235 deletions

View File

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