diff options
Diffstat (limited to 'ROMFS/px4fmu_common')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.sensors | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index d204052b0..8dff70534 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -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 |