From aecfe38f659b9bc3968b6882e1378e6fc2a34be9 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Fri, 2 Jun 2017 18:41:54 +0200 Subject: [PATCH] BMI055: Allow the independent use of just the gyro driver --- ROMFS/px4fmu_common/init.d/rc.sensors | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index 2ba69ed463..3d9d21cd05 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -224,10 +224,11 @@ then # Internal SPI bus BMI055_ACC if bmi055 -A start then - # Internal SPI bus BMI055_GYR - if bmi055 -G start - then - fi + fi + + # Internal SPI bus BMI055_GYR + if bmi055 -G start + then fi # expansion i2c used for BMM150 rotated by 90deg