Start the hmc5883 before the lsm303d so that an external mag is used

This commit is contained in:
Julian Oes
2013-08-19 16:34:12 +02:00
parent 12df5dd269
commit 00c9b8f87f
+4 -2
View File
@@ -18,10 +18,12 @@ fi
ms5611 start ms5611 start
adc start adc start
# mag might be external
hmc5883 start
if mpu6000 start if mpu6000 start
then then
echo "using MPU6000 and HMC5883L" echo "using MPU6000"
hmc5883 start
set BOARD fmuv1 set BOARD fmuv1
else else
echo "using L3GD20 and LSM303D" echo "using L3GD20 and LSM303D"