Sensors startup: Correct startup for HMC5883

This commit is contained in:
Lorenz Meier
2015-02-09 14:50:26 +01:00
parent 3079b5560f
commit 3a151a9d00

View File

@@ -8,10 +8,12 @@ adc start
if ver hwcmp PX4FMU_V2
then
# External I2C bus
if hmc5883 -C -X start
then
fi
# Internal I2C bus
if hmc5883 -C -I -R 4 start
then
fi
@@ -41,6 +43,10 @@ then
then
fi
if hmc5883 -S -R 8 start
then
fi
else
# FMUv2
if mpu6000 start