BMI055: Ensure that accel and gyro start consistently.

This was required on a BOSCH board which otherwise could end up mis-detecting the 055 and not running properly
This commit is contained in:
Lorenz Meier
2017-06-02 18:30:51 +02:00
parent 9736c08e49
commit 5e1490b8a1
+4 -5
View File
@@ -224,11 +224,10 @@ then
# Internal SPI bus BMI055_ACC # Internal SPI bus BMI055_ACC
if bmi055 -A start if bmi055 -A start
then then
fi # Internal SPI bus BMI055_GYR
if bmi055 -G start
# Internal SPI bus BMI055_GYR then
if bmi055 -G start fi
then
fi fi
# expansion i2c used for BMM150 rotated by 90deg # expansion i2c used for BMM150 rotated by 90deg