diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-08-19 08:37:11 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-08-19 08:37:11 -0700 |
commit | 230c09e2f44e0bcf8613815e2f771b4dffe8b042 (patch) | |
tree | 37f2b731fb9a0097b64c42c59c6a6235c3318c31 /ROMFS/px4fmu_common | |
parent | cdd09333f946e746527c8e9af36e08dc3a29a975 (diff) | |
parent | a95e48c0b25c75548e923657247cdf268e654097 (diff) | |
download | px4-firmware-230c09e2f44e0bcf8613815e2f771b4dffe8b042.tar.gz px4-firmware-230c09e2f44e0bcf8613815e2f771b4dffe8b042.tar.bz2 px4-firmware-230c09e2f44e0bcf8613815e2f771b4dffe8b042.zip |
Merge pull request #11 from cvg/fmuv2_bringup_ext_mag_rotation
Support for external mags with different rotation
Diffstat (limited to 'ROMFS/px4fmu_common')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.sensors | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index 17591be5b..61bb09728 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -18,10 +18,15 @@ fi ms5611 start adc start +# mag might be external +if hmc5883 start +then + echo "using HMC5883" +fi + if mpu6000 start then - echo "using MPU6000 and HMC5883L" - hmc5883 start + echo "using MPU6000" set BOARD fmuv1 else echo "using L3GD20 and LSM303D" |