disable GYRO_EXTI when Gyro and OSD share the same bus
This commit is contained in:
parent
cfa5df3eea
commit
32bc45ba29
|
@ -43,7 +43,8 @@
|
|||
// MPU6000 interrupts
|
||||
#define USE_EXTI
|
||||
#define USE_MPU_DATA_READY_SIGNAL
|
||||
#define USE_GYRO_EXTI
|
||||
// disable GYRO_EXTI when MAX7456 is on same SPI bus as gyro
|
||||
// #define USE_GYRO_EXTI
|
||||
#define GYRO_1_EXTI_PIN PA4
|
||||
|
||||
#define USE_GYRO
|
||||
|
|
|
@ -44,9 +44,12 @@
|
|||
#define GYRO_1_CS_PIN PB12
|
||||
#define GYRO_1_SPI_INSTANCE SPI2
|
||||
|
||||
|
||||
#define USE_EXTI
|
||||
#define USE_GYRO_EXTI
|
||||
// disable GYRO_EXTI when MAX7456 is on same SPI bus as gyro
|
||||
// #define USE_GYRO_EXTI
|
||||
#define GYRO_1_EXTI_PIN PA8
|
||||
|
||||
#define USE_MPU_DATA_READY_SIGNAL
|
||||
|
||||
#define USE_BARO
|
||||
|
|
|
@ -85,7 +85,10 @@
|
|||
|
||||
// MPU6000 interrupts
|
||||
#define USE_EXTI
|
||||
// disable EXTI when MAX7456 is on same SPI bus as gyro
|
||||
#if defined(OMNIBUSF4V6)
|
||||
#define USE_GYRO_EXTI
|
||||
#endif
|
||||
#define GYRO_1_EXTI_PIN PC4
|
||||
#define GYRO_2_EXTI_PIN NONE
|
||||
#define USE_MPU_DATA_READY_SIGNAL
|
||||
|
|
|
@ -37,7 +37,8 @@
|
|||
// Gyro interrupt
|
||||
#define USE_EXTI
|
||||
#define USE_MPU_DATA_READY_SIGNAL
|
||||
#define USE_GYRO_EXTI
|
||||
// disable GYRO_EXTI when MAX7456 is on same SPI bus as gyro
|
||||
// #define USE_GYRO_EXTI
|
||||
#define GYRO_1_EXTI_PIN PC4
|
||||
|
||||
#define USE_ACC
|
||||
|
|
|
@ -40,7 +40,8 @@
|
|||
#define SPI1_MOSI_PIN PA7
|
||||
|
||||
#define USE_EXTI
|
||||
#define USE_GYRO_EXTI
|
||||
// disable GYRO_EXTI when MAX7456 is on same SPI bus as gyro
|
||||
// #define USE_GYRO_EXTI
|
||||
#define GYRO_1_EXTI_PIN PC4
|
||||
|
||||
#define USE_MPU_DATA_READY_SIGNAL
|
||||
|
|
Loading…
Reference in New Issue