From 0bda4a7eddee9a96f88226eff815341f084f00a9 Mon Sep 17 00:00:00 2001 From: Mohammed Kabir Date: Tue, 27 Jun 2017 16:51:38 +0530 Subject: [PATCH] rc.sensors : correctly start up sensors on AUAV-X2.1 --- ROMFS/px4fmu_common/init.d/rc.sensors | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index ce8b53a942..d9e8d75d22 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -63,18 +63,8 @@ fi if ver hwcmp AUAV_X21 then - # I2C bus - if hmc5883 -C -T start - then - fi - - # I2C bus - if lis3mdl start - then - fi - - # Internal SPI bus ICM-20602-G is rotated 90 deg yaw - if mpu6000 -R 2 -T 20602 start + # External I2C bus + if hmc5883 -C -T -X start then fi