mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 13:55:18 +03:00
V2: Rotate ICM20608 90deg CW to match MPU6000
This commit is contained in:
parent
b622e8b0fe
commit
5fef94b51b
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@
|
||||||
#define MPU6500_SPI_INSTANCE SPI3
|
#define MPU6500_SPI_INSTANCE SPI3
|
||||||
#define GYRO_1_CS_PIN MPU6000_CS_PIN
|
#define GYRO_1_CS_PIN MPU6000_CS_PIN
|
||||||
#define GYRO_0_CS_PIN MPU6500_CS_PIN
|
#define GYRO_0_CS_PIN MPU6500_CS_PIN
|
||||||
|
#define GYRO_MPU6500_ALIGN CW90_DEG
|
||||||
|
#define ACC_MPU6500_ALIGN CW90_DEG
|
||||||
#else
|
#else
|
||||||
#define MPU6000_CS_PIN SPI3_NSS_PIN
|
#define MPU6000_CS_PIN SPI3_NSS_PIN
|
||||||
#define MPU6000_SPI_INSTANCE SPI3
|
#define MPU6000_SPI_INSTANCE SPI3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue