Add support for external sensors in startup

This commit is contained in:
Lorenz Meier 2014-07-16 15:02:25 +02:00
parent 11eeb7466d
commit ede1deaed6
1 changed files with 15 additions and 0 deletions

View File

@ -6,11 +6,21 @@
ms5611 start
adc start
if mpu6000 -X start
then
echo "External MPU6000"
fi
if mpu6000 start
then
echo "Internal MPU6000"
fi
if l3gd20 -X start
then
echo "External L3GD20(H)"
fi
if l3gd20 start
then
echo "Internal L3GD20(H)"
@ -42,6 +52,11 @@ fi
if ver hwcmp PX4FMU_V2
then
if lsm303d -X start
then
echo "External LSM303D"
fi
if lsm303d start
then
echo "Internal LSM303D"