V2: Rotate ICM20608 90deg CW to match MPU6000

This commit is contained in:
jflyper 2017-09-03 23:49:38 +09:00
parent b622e8b0fe
commit 5fef94b51b
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,8 @@
#define MPU6500_SPI_INSTANCE SPI3
#define GYRO_1_CS_PIN MPU6000_CS_PIN
#define GYRO_0_CS_PIN MPU6500_CS_PIN
#define GYRO_MPU6500_ALIGN CW90_DEG
#define ACC_MPU6500_ALIGN CW90_DEG
#else
#define MPU6000_CS_PIN SPI3_NSS_PIN
#define MPU6000_SPI_INSTANCE SPI3