From 8e4e4fae36b7f0f9fbb494fa65b13b2df802d4e8 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Wed, 9 Aug 2017 15:46:04 -1000 Subject: [PATCH] rc.sensors:Align with master --- ROMFS/px4fmu_common/init.d/rc.sensors | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index 508229edc3..4050ee7765 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -44,6 +44,7 @@ if ver hwcmp NXPHLITE_V3 then # Internal I2C mpl3115a2 -I start + # Internal SPI fxos8700cq start -a 8 -R 0 fi @@ -142,16 +143,10 @@ fi if ver hwcmp PX4_SAME70XPLAINED_V1 then # External I2C bus - if hmc5883 -C -T -X start - then - fi - - set BOARD_FMUV3 false + hmc5883 -C -T -X start # Internal SPI bus mpu9250 is rotated 90 deg yaw - if mpu9250 -R 2 start - then - fi + mpu9250 -R 2 start fi if ver hwcmp PX4FMU_V4