From 865634439410c1d9ec85fca71f5d68df0ab0298c Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Fri, 26 Dec 2014 01:42:00 +0000 Subject: [PATCH] EUSTM32F103RB - Support MPU9150 breakout board alignment. --- src/main/target/EUSTM32F103RC/target.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/target/EUSTM32F103RC/target.h b/src/main/target/EUSTM32F103RC/target.h index fab0469b6..682f5c818 100644 --- a/src/main/target/EUSTM32F103RC/target.h +++ b/src/main/target/EUSTM32F103RC/target.h @@ -48,6 +48,8 @@ #define USE_GYRO_SPI_MPU6000 #define USE_GYRO_SPI_MPU6500 +#define GYRO_MPU6050_ALIGN CW0_DEG + #define ACC #define USE_FAKE_ACC #define USE_ACC_ADXL345 @@ -57,6 +59,8 @@ //#define USE_ACC_SPI_MPU6000 #define USE_ACC_SPI_MPU6500 +#define ACC_MPU6050_ALIGN CW0_DEG + #define BARO #define USE_BARO_MS5611 #define USE_BARO_BMP085 @@ -65,6 +69,8 @@ #define USE_MAG_HMC5883 #define USE_MAG_AK8975 +#define MAG_AK8975_ALIGN CW180_DEG_FLIP + #define SONAR #define LED0