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
1 changed files with 4 additions and 2 deletions

View File

@ -18,10 +18,12 @@ fi
ms5611 start
adc start
# mag might be external
hmc5883 start
if mpu6000 start
then
echo "using MPU6000 and HMC5883L"
hmc5883 start
echo "using MPU6000"
set BOARD fmuv1
else
echo "using L3GD20 and LSM303D"