aboutsummaryrefslogtreecommitdiff
path: root/ROMFS/px4fmu_common/init.d/rc.sensors
diff options
context:
space:
mode:
authorJulian Oes <julian@oes.ch>2013-08-19 16:34:12 +0200
committerJulian Oes <julian@oes.ch>2013-08-19 16:34:12 +0200
commit00c9b8f87f40ffca47ade881087a50b6162fd185 (patch)
treedbea48cf8b85b4e34c86570ebc1f29b43902350b /ROMFS/px4fmu_common/init.d/rc.sensors
parent12df5dd2699f163bc5551b2be611665fc58fb001 (diff)
downloadpx4-firmware-00c9b8f87f40ffca47ade881087a50b6162fd185.tar.gz
px4-firmware-00c9b8f87f40ffca47ade881087a50b6162fd185.tar.bz2
px4-firmware-00c9b8f87f40ffca47ade881087a50b6162fd185.zip
Start the hmc5883 before the lsm303d so that an external mag is used
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rc.sensors')
-rw-r--r--ROMFS/px4fmu_common/init.d/rc.sensors6
1 files changed, 4 insertions, 2 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors
index 17591be5b..762e80e1f 100644
--- a/ROMFS/px4fmu_common/init.d/rc.sensors
+++ b/ROMFS/px4fmu_common/init.d/rc.sensors
@@ -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"