mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 09:45:33 +03:00
Merge pull request #1580 from mikeller/fix_beerotorf4_gyro_alignment
Fixed gyro alignment for BeeRotor F4.
This commit is contained in:
commit
a1715d6e56
1 changed files with 9 additions and 11 deletions
|
@ -34,23 +34,21 @@
|
||||||
#define ENSURE_MPU_DATA_READY_IS_LOW
|
#define ENSURE_MPU_DATA_READY_IS_LOW
|
||||||
|
|
||||||
//#define ICM20689_CS_PIN SPI1_NSS_PIN
|
//#define ICM20689_CS_PIN SPI1_NSS_PIN
|
||||||
#define MPU6500_CS_PIN SPI1_NSS_PIN
|
|
||||||
//#define ICM20689_SPI_INSTANCE SPI1
|
//#define ICM20689_SPI_INSTANCE SPI1
|
||||||
|
#define MPU6500_CS_PIN SPI1_NSS_PIN
|
||||||
#define MPU6500_SPI_INSTANCE SPI1
|
#define MPU6500_SPI_INSTANCE SPI1
|
||||||
|
|
||||||
#define ACC
|
|
||||||
//#define USE_ACC_SPI_ICM20689
|
|
||||||
#define USE_ACC_MPU6050
|
|
||||||
#define USE_ACC_SPI_MPU6500
|
|
||||||
//#define ACC_ICM20689_ALIGN CW270_DEG
|
|
||||||
#define ACC_MPU6050_ALIGN CW270_DEG
|
|
||||||
|
|
||||||
#define GYRO
|
#define GYRO
|
||||||
//#define USE_GYRO_SPI_ICM20689
|
//#define USE_GYRO_SPI_ICM20689
|
||||||
#define USE_GYRO_MPU6050
|
|
||||||
#define USE_GYRO_SPI_MPU6500
|
|
||||||
//#define GYRO_ICM20689_ALIGN CW270_DEG
|
//#define GYRO_ICM20689_ALIGN CW270_DEG
|
||||||
#define GYRO_MPU6050_ALIGN CW270_DEG
|
#define USE_GYRO_SPI_MPU6500
|
||||||
|
#define GYRO_MPU6500_ALIGN CW270_DEG
|
||||||
|
|
||||||
|
#define ACC
|
||||||
|
//#define USE_ACC_SPI_ICM20689
|
||||||
|
//#define ACC_ICM20689_ALIGN CW270_DEG
|
||||||
|
#define USE_ACC_SPI_MPU6500
|
||||||
|
#define ACC_MPU6500_ALIGN CW270_DEG
|
||||||
|
|
||||||
#define BARO
|
#define BARO
|
||||||
#define USE_BARO_BMP280
|
#define USE_BARO_BMP280
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue