(obf4sd) gyro/acc alignment
This commit is contained in:
parent
0a304ed3e7
commit
3c84107971
|
@ -43,11 +43,17 @@
|
||||||
|
|
||||||
#define ACC
|
#define ACC
|
||||||
#define USE_ACC_SPI_MPU6000
|
#define USE_ACC_SPI_MPU6000
|
||||||
#define GYRO_MPU6000_ALIGN CW180_DEG
|
|
||||||
|
|
||||||
#define GYRO
|
#define GYRO
|
||||||
#define USE_GYRO_SPI_MPU6000
|
#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
|
// MPU6000 interrupts
|
||||||
#define USE_EXTI
|
#define USE_EXTI
|
||||||
|
|
Loading…
Reference in New Issue