Merge pull request #7864 from hydra/bf-fix-dual-gyro-defines

Fix remaining cases of `USE_DUAL_GYRO`.
This commit is contained in:
Michael Keller 2019-03-26 06:13:42 +13:00 committed by GitHub
commit 54f59280bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 9 deletions

View File

@ -73,7 +73,7 @@ static FAST_RAM_ZERO_INIT float hanningWindow[FFT_WINDOW_SIZE];
void gyroDataAnalyseInit(uint32_t targetLooptimeUs)
{
#ifdef USE_DUAL_GYRO
#ifdef USE_MULTI_GYRO
static bool gyroAnalyseInitialized;
if (gyroAnalyseInitialized) {
return;

View File

@ -30,7 +30,7 @@
#define BEEPER_PIN PC13
#define BEEPER_INVERTED
#define USE_DUAL_GYRO
#define USE_MULTI_GYRO
#define USE_EXTI
#define USE_GYRO_EXTI
#define GYRO_1_EXTI_PIN PB10

View File

@ -24,7 +24,7 @@
#define USBD_PRODUCT_STRING "EXF722DUAL"
#define USE_DUAL_GYRO
#define USE_MULTI_GYRO
#define ENABLE_DSHOT_DMAR true

View File

@ -31,7 +31,7 @@
#define BEEPER_PIN PC14
#define BEEPER_INVERTED
#define USE_DUAL_GYRO
#define USE_MULTI_GYRO
#define USE_EXTI
#define USE_GYRO_EXTI
#define GYRO_1_EXTI_PIN PC3

View File

@ -30,7 +30,7 @@
#define BEEPER_PIN PA4
#define BEEPER_INVERTED
#define USE_DUAL_GYRO
#define USE_MULTI_GYRO
#define USE_EXTI
#define USE_GYRO_EXTI
#define GYRO_1_EXTI_PIN PC4

View File

@ -42,7 +42,7 @@
#define SPI1_MISO_PIN PA6
#define SPI1_MOSI_PIN PA7
#define USE_DUAL_GYRO
#define USE_MULTI_GYRO
#define USE_EXTI
#define USE_GYRO_EXTI
#define GYRO_1_EXTI_PIN PC4

View File

@ -61,7 +61,7 @@
#define USE_GYRO_SPI_MPU6000
#define USE_GYRO_SPI_MPU6500
#define USE_DUAL_GYRO
#define USE_MULTI_GYRO
#if defined(OMNIBUSF4V6)
#define GYRO_1_CS_PIN PA4 // Onboard IMU

View File

@ -44,7 +44,7 @@
//GYRO & ACC--------------------------------
#define USE_ACC
#define USE_GYRO
#define USE_DUAL_GYRO
#define USE_MULTI_GYRO
// ICM-20608-G
#define USE_ACC_SPI_MPU6500
#define USE_GYRO_SPI_MPU6500

View File

@ -31,7 +31,7 @@
#define TEST_SOUND // for factory testing audio output
#define USE_DUAL_GYRO
#define USE_MULTI_GYRO
//#define DEBUG_MODE DEBUG_DUAL_GYRO_DIFF
#define ENABLE_DSHOT_DMAR true