(obf4sd) gyro/acc alignment

This commit is contained in:
nathan 2016-12-20 16:48:18 -07:00
parent 0a304ed3e7
commit 3c84107971
1 changed files with 8 additions and 2 deletions

View File

@ -43,11 +43,17 @@
#define ACC
#define USE_ACC_SPI_MPU6000
#define GYRO_MPU6000_ALIGN CW180_DEG
#define GYRO
#define USE_GYRO_SPI_MPU6000
#define ACC_MPU6000_ALIGN CW180_DEG
#ifdef OMNIBUSF4SD
#define GYRO_MPU6000_ALIGN CW270_DEG
#define ACC_MPU6000_ALIGN CW270_DEG
#else
#define GYRO_MPU6000_ALIGN CW180_DEG
#define ACC_MPU6000_ALIGN CW180_DEG
#endif
// MPU6000 interrupts
#define USE_EXTI