diff --git a/configs/AG3XF4/config.h b/configs/AG3XF4/config.h index 73b9af60..42199a6c 100644 --- a/configs/AG3XF4/config.h +++ b/configs/AG3XF4/config.h @@ -111,7 +111,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/AG3XF7/config.h b/configs/AG3XF7/config.h index 736d8785..cac61109 100644 --- a/configs/AG3XF7/config.h +++ b/configs/AG3XF7/config.h @@ -110,7 +110,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/AIKONF4/config.h b/configs/AIKONF4/config.h index 44e76108..bbbe2ec6 100644 --- a/configs/AIKONF4/config.h +++ b/configs/AIKONF4/config.h @@ -110,5 +110,4 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/AIKONF7/config.h b/configs/AIKONF7/config.h index d322bd91..5bec21fc 100644 --- a/configs/AIKONF7/config.h +++ b/configs/AIKONF7/config.h @@ -109,7 +109,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define PINIO1_BOX 40 #define PINIO2_BOX 0 diff --git a/configs/AIRBOTF4/config.h b/configs/AIRBOTF4/config.h index c4e3992b..2e010bcc 100644 --- a/configs/AIRBOTF4/config.h +++ b/configs/AIRBOTF4/config.h @@ -108,7 +108,6 @@ #define SYSTEM_HSE_MHZ 8 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/AIRBOTF4SD/config.h b/configs/AIRBOTF4SD/config.h index 289e2670..e5df050d 100644 --- a/configs/AIRBOTF4SD/config.h +++ b/configs/AIRBOTF4SD/config.h @@ -114,7 +114,6 @@ #define SDCARD_SPI_INSTANCE SPI3 #define SYSTEM_HSE_MHZ 8 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/AIRBOTF4V2/config.h b/configs/AIRBOTF4V2/config.h index 914d434e..42c9d8ee 100644 --- a/configs/AIRBOTF4V2/config.h +++ b/configs/AIRBOTF4V2/config.h @@ -91,7 +91,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/AIRBOTF7/config.h b/configs/AIRBOTF7/config.h index 550e6adf..6adea4dd 100644 --- a/configs/AIRBOTF7/config.h +++ b/configs/AIRBOTF7/config.h @@ -91,7 +91,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/AIRBOTF7HDV/config.h b/configs/AIRBOTF7HDV/config.h index 0d1d8584..bf7f796c 100644 --- a/configs/AIRBOTF7HDV/config.h +++ b/configs/AIRBOTF7HDV/config.h @@ -84,7 +84,6 @@ #define DEFAULT_CURRENT_METER_SCALE 179 #define BEEPER_INVERTED #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/AIRF7/config.h b/configs/AIRF7/config.h index 71dfb41f..ccb2ec86 100644 --- a/configs/AIRF7/config.h +++ b/configs/AIRF7/config.h @@ -94,7 +94,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/ALIENFLIGHTF4/config.h b/configs/ALIENFLIGHTF4/config.h index 9b623012..39fdf34a 100644 --- a/configs/ALIENFLIGHTF4/config.h +++ b/configs/ALIENFLIGHTF4/config.h @@ -117,7 +117,6 @@ #define USE_SDCARD_SPI #define SDCARD_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/ALIENFLIGHTNGF7/config.h b/configs/ALIENFLIGHTNGF7/config.h index 73958433..6bb94408 100644 --- a/configs/ALIENFLIGHTNGF7/config.h +++ b/configs/ALIENFLIGHTNGF7/config.h @@ -123,7 +123,6 @@ #define SDCARD_SPI_INSTANCE SPI2 #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/ALIENFLIGHTNGF7_DUAL/config.h b/configs/ALIENFLIGHTNGF7_DUAL/config.h index 9561ddca..fb5fb106 100644 --- a/configs/ALIENFLIGHTNGF7_DUAL/config.h +++ b/configs/ALIENFLIGHTNGF7_DUAL/config.h @@ -106,11 +106,9 @@ #define USE_SDCARD_SPI #define SDCARD_SPI_INSTANCE SPI2 #define MAX7456_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 -#define USE_SPI_GYRO #define GYRO_2_SPI_INSTANCE SPI3 #define GYRO_2_ALIGN CW270_DEG #define GYRO_2_ALIGN_YAW 2700 diff --git a/configs/ALIENFLIGHTNGF7_ELRS/config.h b/configs/ALIENFLIGHTNGF7_ELRS/config.h index 56a879ce..abbe6b27 100644 --- a/configs/ALIENFLIGHTNGF7_ELRS/config.h +++ b/configs/ALIENFLIGHTNGF7_ELRS/config.h @@ -121,7 +121,6 @@ #define USE_SDCARD_SPI #define SDCARD_SPI_INSTANCE SPI2 #define MAX7456_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/ALIENFLIGHTNGF7_RX/config.h b/configs/ALIENFLIGHTNGF7_RX/config.h index 80285885..dacae26b 100644 --- a/configs/ALIENFLIGHTNGF7_RX/config.h +++ b/configs/ALIENFLIGHTNGF7_RX/config.h @@ -109,7 +109,6 @@ #define USE_SDCARD_SPI #define SDCARD_SPI_INSTANCE SPI2 #define MAX7456_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/ALIENWHOOPF4/config.h b/configs/ALIENWHOOPF4/config.h index 54a56530..db78247d 100644 --- a/configs/ALIENWHOOPF4/config.h +++ b/configs/ALIENWHOOPF4/config.h @@ -79,5 +79,4 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/ANYFCF7/config.h b/configs/ANYFCF7/config.h index 70ccf2e8..b229ac5b 100644 --- a/configs/ANYFCF7/config.h +++ b/configs/ANYFCF7/config.h @@ -125,7 +125,6 @@ #define SDCARD_SPI_INSTANCE SPI4 #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/ANYFCM7/config.h b/configs/ANYFCM7/config.h index aa1539e3..f8857be3 100644 --- a/configs/ANYFCM7/config.h +++ b/configs/ANYFCM7/config.h @@ -106,7 +106,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/AOCODAF405/config.h b/configs/AOCODAF405/config.h index 040b67e1..9f623147 100644 --- a/configs/AOCODAF405/config.h +++ b/configs/AOCODAF405/config.h @@ -103,7 +103,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW0_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/AOCODAF405V2MPU6000/config.h b/configs/AOCODAF405V2MPU6000/config.h index 090ee2f8..7a79f6e6 100644 --- a/configs/AOCODAF405V2MPU6000/config.h +++ b/configs/AOCODAF405V2MPU6000/config.h @@ -108,6 +108,5 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG diff --git a/configs/AOCODAF405V2MPU6500/config.h b/configs/AOCODAF405V2MPU6500/config.h index 8f981aea..174f9f48 100644 --- a/configs/AOCODAF405V2MPU6500/config.h +++ b/configs/AOCODAF405V2MPU6500/config.h @@ -108,5 +108,4 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/AOCODAF722BLE/config.h b/configs/AOCODAF722BLE/config.h index 28776088..a2e3c1b7 100644 --- a/configs/AOCODAF722BLE/config.h +++ b/configs/AOCODAF722BLE/config.h @@ -100,5 +100,4 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI1 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI2 diff --git a/configs/AOCODAF722MINI/config.h b/configs/AOCODAF722MINI/config.h index 7ad948a4..1120cb3d 100644 --- a/configs/AOCODAF722MINI/config.h +++ b/configs/AOCODAF722MINI/config.h @@ -105,5 +105,4 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/AOCODAF722MINIV2/config.h b/configs/AOCODAF722MINIV2/config.h index b2e19a0c..f1ede0e0 100644 --- a/configs/AOCODAF722MINIV2/config.h +++ b/configs/AOCODAF722MINIV2/config.h @@ -107,5 +107,4 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/AOCODARCF405_AIO/config.h b/configs/AOCODARCF405_AIO/config.h index e2a7c70b..2428551c 100644 --- a/configs/AOCODARCF405_AIO/config.h +++ b/configs/AOCODARCF405_AIO/config.h @@ -103,7 +103,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define DEFAULT_ALIGN_BOARD_YAW 90 #define DEFAULT_ALIGN_BOARD_PITCH 180 diff --git a/configs/AOCODARCF411_AIO/config.h b/configs/AOCODARCF411_AIO/config.h index 286d42f8..702eb2f7 100644 --- a/configs/AOCODARCF411_AIO/config.h +++ b/configs/AOCODARCF411_AIO/config.h @@ -96,7 +96,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/AOCODARCF722_AIO/config.h b/configs/AOCODARCF722_AIO/config.h index 838f9ceb..172ebd50 100644 --- a/configs/AOCODARCF722_AIO/config.h +++ b/configs/AOCODARCF722_AIO/config.h @@ -131,7 +131,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 -#define USE_SPI_GYRO #define GYRO_1_ALIGN CW0_DEG #define GYRO_1_SPI_INSTANCE SPI1 #define DEFAULT_ALIGN_BOARD_YAW 135 diff --git a/configs/AOCODARCF7DUAL/config.h b/configs/AOCODARCF7DUAL/config.h index e9f34941..c2320617 100644 --- a/configs/AOCODARCF7DUAL/config.h +++ b/configs/AOCODARCF7DUAL/config.h @@ -110,7 +110,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI1 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/AOCODARCH7DUAL/config.h b/configs/AOCODARCH7DUAL/config.h index a3822082..6c2d4aed 100644 --- a/configs/AOCODARCH7DUAL/config.h +++ b/configs/AOCODARCH7DUAL/config.h @@ -139,7 +139,6 @@ #define PINIO1_BOX 39 #define PINIO2_BOX 40 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/APEXF7/config.h b/configs/APEXF7/config.h index 7ac2cd94..4da38542 100644 --- a/configs/APEXF7/config.h +++ b/configs/APEXF7/config.h @@ -101,7 +101,6 @@ #define PINIO1_BOX 0 #define PINIO2_BOX 40 #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_2_SPI_INSTANCE SPI3 #define GYRO_2_ALIGN CW270_DEG diff --git a/configs/APEXF72023/config.h b/configs/APEXF72023/config.h index 3092907a..9b90fe9d 100644 --- a/configs/APEXF72023/config.h +++ b/configs/APEXF72023/config.h @@ -103,7 +103,6 @@ #define PINIO1_BOX 0 #define PINIO2_BOX 40 #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_2_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW90_DEG diff --git a/configs/ARESF7/config.h b/configs/ARESF7/config.h index 7ed700c5..cbf3693e 100644 --- a/configs/ARESF7/config.h +++ b/configs/ARESF7/config.h @@ -99,7 +99,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/ATOMRCF405/config.h b/configs/ATOMRCF405/config.h index f06e6cdf..a98d86a1 100644 --- a/configs/ATOMRCF405/config.h +++ b/configs/ATOMRCF405/config.h @@ -100,7 +100,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/ATOMRCF411/config.h b/configs/ATOMRCF411/config.h index f84105c8..8c9392da 100644 --- a/configs/ATOMRCF411/config.h +++ b/configs/ATOMRCF411/config.h @@ -78,7 +78,6 @@ #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/ATOMRCF722/config.h b/configs/ATOMRCF722/config.h index 549e8d76..6f783397 100644 --- a/configs/ATOMRCF722/config.h +++ b/configs/ATOMRCF722/config.h @@ -98,7 +98,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/AXISFLYINGF7/config.h b/configs/AXISFLYINGF7/config.h index c241eb08..e2e7c3b1 100644 --- a/configs/AXISFLYINGF7/config.h +++ b/configs/AXISFLYINGF7/config.h @@ -103,4 +103,3 @@ #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI1 #define GYRO_1_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO diff --git a/configs/AXISFLYINGF7PRO/config.h b/configs/AXISFLYINGF7PRO/config.h index e358f1b8..cdb27025 100644 --- a/configs/AXISFLYINGF7PRO/config.h +++ b/configs/AXISFLYINGF7PRO/config.h @@ -113,5 +113,4 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/BAYCK_DOLPHIN/config.h b/configs/BAYCK_DOLPHIN/config.h index a832310b..36cb9538 100644 --- a/configs/BAYCK_DOLPHIN/config.h +++ b/configs/BAYCK_DOLPHIN/config.h @@ -113,7 +113,6 @@ #define BARO_SPI_INSTANCE SPI3 #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/BAYCK_DOLPHIN_MINI/config.h b/configs/BAYCK_DOLPHIN_MINI/config.h index d816d5e1..279b9d0a 100644 --- a/configs/BAYCK_DOLPHIN_MINI/config.h +++ b/configs/BAYCK_DOLPHIN_MINI/config.h @@ -106,6 +106,5 @@ #define BARO_SPI_INSTANCE SPI3 #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG diff --git a/configs/BEEROTORF4/config.h b/configs/BEEROTORF4/config.h index 4fe06c35..724ca755 100644 --- a/configs/BEEROTORF4/config.h +++ b/configs/BEEROTORF4/config.h @@ -105,7 +105,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/BETAFLIGHTF4/config.h b/configs/BETAFLIGHTF4/config.h index f9d06cf3..40b23697 100644 --- a/configs/BETAFLIGHTF4/config.h +++ b/configs/BETAFLIGHTF4/config.h @@ -101,7 +101,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/BETAFPVF405/config.h b/configs/BETAFPVF405/config.h index 15a6685c..efa7cf9d 100644 --- a/configs/BETAFPVF405/config.h +++ b/configs/BETAFPVF405/config.h @@ -125,7 +125,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/BETAFPVF405_ELRS/config.h b/configs/BETAFPVF405_ELRS/config.h index 4ac448b4..fe12025e 100644 --- a/configs/BETAFPVF405_ELRS/config.h +++ b/configs/BETAFPVF405_ELRS/config.h @@ -126,7 +126,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/BETAFPVF411/config.h b/configs/BETAFPVF411/config.h index 56a93aa0..6f4bda09 100644 --- a/configs/BETAFPVF411/config.h +++ b/configs/BETAFPVF411/config.h @@ -94,7 +94,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/BETAFPVF411RX/config.h b/configs/BETAFPVF411RX/config.h index 05813824..1dd15d36 100644 --- a/configs/BETAFPVF411RX/config.h +++ b/configs/BETAFPVF411RX/config.h @@ -97,7 +97,6 @@ #define RX_CC2500_SPI_DISABLE_CHIP_DETECTION #define FLASH_SPI_INSTANCE SPI2 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/BETAFPVF435/config.h b/configs/BETAFPVF435/config.h index 699b29ee..1cd843b9 100644 --- a/configs/BETAFPVF435/config.h +++ b/configs/BETAFPVF435/config.h @@ -34,7 +34,6 @@ #define USE_GYRO #define USE_GYRO_SPI_ICM42688P -#define USE_SPI_GYRO #define USE_FLASH #define USE_FLASH_W25Q128FV @@ -106,7 +105,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/BETAFPVF4SX1280/config.h b/configs/BETAFPVF4SX1280/config.h index ad6f39f1..daf14b43 100644 --- a/configs/BETAFPVF4SX1280/config.h +++ b/configs/BETAFPVF4SX1280/config.h @@ -113,7 +113,6 @@ #define SYSTEM_HSE_MHZ 8 #define FLASH_SPI_INSTANCE SPI2 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/BETAFPVF722/config.h b/configs/BETAFPVF722/config.h index 01d99e26..b6df19ea 100644 --- a/configs/BETAFPVF722/config.h +++ b/configs/BETAFPVF722/config.h @@ -102,11 +102,9 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 -#define USE_SPI_GYRO #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW180_DEG #define GYRO_2_ALIGN_YAW 1800 diff --git a/configs/BETAFPVH743/config.h b/configs/BETAFPVH743/config.h index dacf4411..d6d36bf8 100644 --- a/configs/BETAFPVH743/config.h +++ b/configs/BETAFPVH743/config.h @@ -131,7 +131,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/BLADE_F7/config.h b/configs/BLADE_F7/config.h index 590ea2c9..83758223 100644 --- a/configs/BLADE_F7/config.h +++ b/configs/BLADE_F7/config.h @@ -104,7 +104,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/BLADE_F7_AIO/config.h b/configs/BLADE_F7_AIO/config.h index e3fe7b7d..a2793422 100644 --- a/configs/BLADE_F7_AIO/config.h +++ b/configs/BLADE_F7_AIO/config.h @@ -36,7 +36,6 @@ #define USE_BARO_BMP280 #define USE_GYRO -#define USE_SPI_GYRO #define USE_GYRO_SPI_MPU6000 #define USE_GYRO_SPI_ICM42688P diff --git a/configs/BLADE_F7_HD/config.h b/configs/BLADE_F7_HD/config.h index a1cd6c19..f95c7cfc 100644 --- a/configs/BLADE_F7_HD/config.h +++ b/configs/BLADE_F7_HD/config.h @@ -100,7 +100,6 @@ #define DEFAULT_CURRENT_METER_SCALE 179 #define BEEPER_INVERTED #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/BLUEJAYF4/config.h b/configs/BLUEJAYF4/config.h index 68036af4..dec22510 100644 --- a/configs/BLUEJAYF4/config.h +++ b/configs/BLUEJAYF4/config.h @@ -95,5 +95,4 @@ #define SYSTEM_HSE_MHZ 8 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/CLRACINGF4/config.h b/configs/CLRACINGF4/config.h index b9aa0fba..35d80eb2 100644 --- a/configs/CLRACINGF4/config.h +++ b/configs/CLRACINGF4/config.h @@ -101,6 +101,5 @@ #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI3 #define DEFAULT_PID_PROCESS_DENOM 1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/CLRACINGF4V2/config.h b/configs/CLRACINGF4V2/config.h index b8d3faf5..25f67815 100644 --- a/configs/CLRACINGF4V2/config.h +++ b/configs/CLRACINGF4V2/config.h @@ -101,7 +101,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI3 #define DEFAULT_PID_PROCESS_DENOM 1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW0_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/CLRACINGF7/config.h b/configs/CLRACINGF7/config.h index 738277cc..d1123bfa 100644 --- a/configs/CLRACINGF7/config.h +++ b/configs/CLRACINGF7/config.h @@ -120,7 +120,6 @@ #define SDCARD_SPI_INSTANCE SPI2 #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG diff --git a/configs/COLIBRI/config.h b/configs/COLIBRI/config.h index 35a80ad6..85d21ee6 100644 --- a/configs/COLIBRI/config.h +++ b/configs/COLIBRI/config.h @@ -107,7 +107,6 @@ #define SYSTEM_HSE_MHZ 16 #define DASHBOARD_I2C_INSTANCE (I2CDEV_3) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/CRAZYBEEF405/config.h b/configs/CRAZYBEEF405/config.h index 924150f2..0777ef78 100644 --- a/configs/CRAZYBEEF405/config.h +++ b/configs/CRAZYBEEF405/config.h @@ -97,6 +97,5 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/CRAZYBEEF4DX/config.h b/configs/CRAZYBEEF4DX/config.h index a3747cd6..465f0d3c 100644 --- a/configs/CRAZYBEEF4DX/config.h +++ b/configs/CRAZYBEEF4DX/config.h @@ -95,6 +95,5 @@ #define FLASH_SPI_INSTANCE SPI2 #define MAX7456_SPI_INSTANCE SPI2 #define SYSTEM_HSE_MHZ 8 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG diff --git a/configs/CRAZYBEEF4DXS/config.h b/configs/CRAZYBEEF4DXS/config.h index cea68226..947a7c54 100644 --- a/configs/CRAZYBEEF4DXS/config.h +++ b/configs/CRAZYBEEF4DXS/config.h @@ -92,7 +92,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/CRAZYBEEF4FR/config.h b/configs/CRAZYBEEF4FR/config.h index c8c25469..ea9a5ae6 100644 --- a/configs/CRAZYBEEF4FR/config.h +++ b/configs/CRAZYBEEF4FR/config.h @@ -97,6 +97,5 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG diff --git a/configs/CRAZYBEEF4FS/config.h b/configs/CRAZYBEEF4FS/config.h index bdee450f..633b09d1 100644 --- a/configs/CRAZYBEEF4FS/config.h +++ b/configs/CRAZYBEEF4FS/config.h @@ -94,6 +94,5 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG diff --git a/configs/CRAZYBEEF4SX1280/config.h b/configs/CRAZYBEEF4SX1280/config.h index ff34eb8f..6a965b0e 100644 --- a/configs/CRAZYBEEF4SX1280/config.h +++ b/configs/CRAZYBEEF4SX1280/config.h @@ -119,7 +119,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/CYCLONEF405_PRO/config.h b/configs/CYCLONEF405_PRO/config.h index 385ed883..c958f53c 100644 --- a/configs/CYCLONEF405_PRO/config.h +++ b/configs/CYCLONEF405_PRO/config.h @@ -100,7 +100,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/CYCLONEF722_PRO/config.h b/configs/CYCLONEF722_PRO/config.h index f1ea92dc..34f80cf7 100644 --- a/configs/CYCLONEF722_PRO/config.h +++ b/configs/CYCLONEF722_PRO/config.h @@ -111,7 +111,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/DAKEFPVF405/config.h b/configs/DAKEFPVF405/config.h index e0ff6898..1c637a71 100644 --- a/configs/DAKEFPVF405/config.h +++ b/configs/DAKEFPVF405/config.h @@ -115,7 +115,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/DAKEFPVF411/config.h b/configs/DAKEFPVF411/config.h index 2583174d..22aa5040 100644 --- a/configs/DAKEFPVF411/config.h +++ b/configs/DAKEFPVF411/config.h @@ -97,7 +97,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 40 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/DAKEFPVF722/config.h b/configs/DAKEFPVF722/config.h index 531b6e60..3f5b380e 100644 --- a/configs/DAKEFPVF722/config.h +++ b/configs/DAKEFPVF722/config.h @@ -113,7 +113,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 40 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/DALRCF405/config.h b/configs/DALRCF405/config.h index 5cd7583b..53ac00fc 100644 --- a/configs/DALRCF405/config.h +++ b/configs/DALRCF405/config.h @@ -108,7 +108,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/DALRCF722DUAL/config.h b/configs/DALRCF722DUAL/config.h index 20a71c0d..06c513c3 100644 --- a/configs/DALRCF722DUAL/config.h +++ b/configs/DALRCF722DUAL/config.h @@ -108,7 +108,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/DARWINF411/config.h b/configs/DARWINF411/config.h index ad360c56..93d1a931 100644 --- a/configs/DARWINF411/config.h +++ b/configs/DARWINF411/config.h @@ -101,7 +101,6 @@ #define SDCARD_SPI_INSTANCE SPI2 #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/DARWINF4SX1280HD/config.h b/configs/DARWINF4SX1280HD/config.h index 9be911d3..d9c32d46 100644 --- a/configs/DARWINF4SX1280HD/config.h +++ b/configs/DARWINF4SX1280HD/config.h @@ -116,7 +116,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/DARWINF722HD/config.h b/configs/DARWINF722HD/config.h index b63e1dd6..2c33d6bd 100644 --- a/configs/DARWINF722HD/config.h +++ b/configs/DARWINF722HD/config.h @@ -120,7 +120,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/DFR_F722_DUAL_HD/config.h b/configs/DFR_F722_DUAL_HD/config.h index 09d3cf8b..cea35ffc 100644 --- a/configs/DFR_F722_DUAL_HD/config.h +++ b/configs/DFR_F722_DUAL_HD/config.h @@ -115,7 +115,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG diff --git a/configs/DREAMFLYF411/config.h b/configs/DREAMFLYF411/config.h index 4bec1944..91e919cb 100644 --- a/configs/DREAMFLYF411/config.h +++ b/configs/DREAMFLYF411/config.h @@ -83,6 +83,5 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG diff --git a/configs/DRONIUSF7/config.h b/configs/DRONIUSF7/config.h index a93f28e2..39e65b3d 100644 --- a/configs/DRONIUSF7/config.h +++ b/configs/DRONIUSF7/config.h @@ -89,7 +89,6 @@ //TODO #define OSD_DISPLAYPORT_DEVICE MAX7456 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW0_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/DYSF44530D/config.h b/configs/DYSF44530D/config.h index e754119b..aecf669c 100644 --- a/configs/DYSF44530D/config.h +++ b/configs/DYSF44530D/config.h @@ -105,7 +105,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/DYSF4PRO/config.h b/configs/DYSF4PRO/config.h index 392bd79c..2490064e 100644 --- a/configs/DYSF4PRO/config.h +++ b/configs/DYSF4PRO/config.h @@ -108,7 +108,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/EACHINEF411_AIO/config.h b/configs/EACHINEF411_AIO/config.h index 8423629c..9eba2060 100644 --- a/configs/EACHINEF411_AIO/config.h +++ b/configs/EACHINEF411_AIO/config.h @@ -83,7 +83,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN_YAW 2700 #define GYRO_1_ALIGN CW270_DEG diff --git a/configs/EACHINEF722/config.h b/configs/EACHINEF722/config.h index d99ca6d0..a1d81aa2 100644 --- a/configs/EACHINEF722/config.h +++ b/configs/EACHINEF722/config.h @@ -115,7 +115,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/EACHINEF722_AIO/config.h b/configs/EACHINEF722_AIO/config.h index acca2704..b0c3acd7 100644 --- a/configs/EACHINEF722_AIO/config.h +++ b/configs/EACHINEF722_AIO/config.h @@ -112,7 +112,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/ELINF405/config.h b/configs/ELINF405/config.h index 373d776c..40ad3749 100644 --- a/configs/ELINF405/config.h +++ b/configs/ELINF405/config.h @@ -116,6 +116,5 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/ELINF722/config.h b/configs/ELINF722/config.h index 3938b640..590c007e 100644 --- a/configs/ELINF722/config.h +++ b/configs/ELINF722/config.h @@ -111,6 +111,5 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/ELLE0/config.h b/configs/ELLE0/config.h index 9a0aec3b..39101a48 100644 --- a/configs/ELLE0/config.h +++ b/configs/ELLE0/config.h @@ -72,7 +72,6 @@ #define ADC1_DMA_OPT 1 #define SYSTEM_HSE_MHZ 25 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/EMAX_BABYHAWK_II_HD/config.h b/configs/EMAX_BABYHAWK_II_HD/config.h index b33b36a2..9373a62b 100644 --- a/configs/EMAX_BABYHAWK_II_HD/config.h +++ b/configs/EMAX_BABYHAWK_II_HD/config.h @@ -107,8 +107,6 @@ #define MAX7456_SPI_INSTANCE SPI2 //TODO #define USB_MSC_PIN_PULLUP ON #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define USE_SPI_GYRO #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/EMAX_TINYHAWKF4SX1280/config.h b/configs/EMAX_TINYHAWKF4SX1280/config.h index 1cbb728c..eb223183 100644 --- a/configs/EMAX_TINYHAWKF4SX1280/config.h +++ b/configs/EMAX_TINYHAWKF4SX1280/config.h @@ -113,7 +113,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG //TODO #define EXPRESSLRS_DOMAIN ISM2400 diff --git a/configs/EMAX_TINYHAWK_F411RX/config.h b/configs/EMAX_TINYHAWK_F411RX/config.h index 42bac6ee..2631de58 100644 --- a/configs/EMAX_TINYHAWK_F411RX/config.h +++ b/configs/EMAX_TINYHAWK_F411RX/config.h @@ -99,7 +99,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define RX_CC2500_SPI_DISABLE_CHIP_DETECTION -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/EXF722DUAL/config.h b/configs/EXF722DUAL/config.h index 1f1fdf5d..17eae7d1 100644 --- a/configs/EXF722DUAL/config.h +++ b/configs/EXF722DUAL/config.h @@ -114,7 +114,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG diff --git a/configs/EXUAVF4PRO/config.h b/configs/EXUAVF4PRO/config.h index a33fff8e..a35123f1 100644 --- a/configs/EXUAVF4PRO/config.h +++ b/configs/EXUAVF4PRO/config.h @@ -109,7 +109,6 @@ #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/F4BY/config.h b/configs/F4BY/config.h index b644eb20..6e19c381 100644 --- a/configs/F4BY/config.h +++ b/configs/F4BY/config.h @@ -117,7 +117,6 @@ #define SDCARD_SPI_INSTANCE SPI2 #define SYSTEM_HSE_MHZ 8 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/FENIX_F405/config.h b/configs/FENIX_F405/config.h index 34fc5a76..c4633ac0 100644 --- a/configs/FENIX_F405/config.h +++ b/configs/FENIX_F405/config.h @@ -81,7 +81,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI1 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW0_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/FF_FORTINIF4/config.h b/configs/FF_FORTINIF4/config.h index 45a130dd..5ffb618e 100644 --- a/configs/FF_FORTINIF4/config.h +++ b/configs/FF_FORTINIF4/config.h @@ -91,7 +91,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FF_FORTINIF4_REV03/config.h b/configs/FF_FORTINIF4_REV03/config.h index f78de9c7..fbc356f2 100644 --- a/configs/FF_FORTINIF4_REV03/config.h +++ b/configs/FF_FORTINIF4_REV03/config.h @@ -93,7 +93,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_3) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FF_PIKOF4/config.h b/configs/FF_PIKOF4/config.h index db429b20..88a548c4 100644 --- a/configs/FF_PIKOF4/config.h +++ b/configs/FF_PIKOF4/config.h @@ -77,7 +77,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FF_PIKOF4OSD/config.h b/configs/FF_PIKOF4OSD/config.h index d5a5ec02..59f5ee0c 100644 --- a/configs/FF_PIKOF4OSD/config.h +++ b/configs/FF_PIKOF4OSD/config.h @@ -85,7 +85,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FF_RACEPIT/config.h b/configs/FF_RACEPIT/config.h index e6d7aae3..7943d290 100644 --- a/configs/FF_RACEPIT/config.h +++ b/configs/FF_RACEPIT/config.h @@ -58,7 +58,6 @@ #define GYRO_1_CS_PIN PA4 #define GYRO_1_EXTI_PIN PC4 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG_FLIP diff --git a/configs/FF_RACEPITF7/config.h b/configs/FF_RACEPITF7/config.h index abd8be96..9522d4e0 100644 --- a/configs/FF_RACEPITF7/config.h +++ b/configs/FF_RACEPITF7/config.h @@ -82,7 +82,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/FF_RACEPITF7_MINI/config.h b/configs/FF_RACEPITF7_MINI/config.h index b91d42e7..857b9862 100644 --- a/configs/FF_RACEPITF7_MINI/config.h +++ b/configs/FF_RACEPITF7_MINI/config.h @@ -90,7 +90,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/FF_RACEPIT_MINI/config.h b/configs/FF_RACEPIT_MINI/config.h index 8f2789b5..850c2f7a 100644 --- a/configs/FF_RACEPIT_MINI/config.h +++ b/configs/FF_RACEPIT_MINI/config.h @@ -57,7 +57,6 @@ #define GYRO_1_CS_PIN PA4 #define GYRO_1_EXTI_PIN PC4 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/FISHDRONEF4/config.h b/configs/FISHDRONEF4/config.h index 12d46d79..d7287eb2 100644 --- a/configs/FISHDRONEF4/config.h +++ b/configs/FISHDRONEF4/config.h @@ -93,7 +93,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/FLAOF405X8/config.h b/configs/FLAOF405X8/config.h index 687af2ee..73031ced 100644 --- a/configs/FLAOF405X8/config.h +++ b/configs/FLAOF405X8/config.h @@ -107,6 +107,5 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG diff --git a/configs/FLASHHOBBYF405/config.h b/configs/FLASHHOBBYF405/config.h index aa6c5dc7..27110cbc 100644 --- a/configs/FLASHHOBBYF405/config.h +++ b/configs/FLASHHOBBYF405/config.h @@ -112,5 +112,4 @@ #define MAX7456_SPI_INSTANCE SPI2 #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/FLASHHOBBYF722/config.h b/configs/FLASHHOBBYF722/config.h index dc6a4c0d..d5bdc1ae 100644 --- a/configs/FLASHHOBBYF722/config.h +++ b/configs/FLASHHOBBYF722/config.h @@ -110,5 +110,4 @@ #define MAX7456_SPI_INSTANCE SPI2 #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/FLYCOLORF7/config.h b/configs/FLYCOLORF7/config.h index f19ae697..d25a98b2 100644 --- a/configs/FLYCOLORF7/config.h +++ b/configs/FLYCOLORF7/config.h @@ -111,7 +111,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/FLYCOLORF7MINI/config.h b/configs/FLYCOLORF7MINI/config.h index 71a27b2a..03b1d43e 100644 --- a/configs/FLYCOLORF7MINI/config.h +++ b/configs/FLYCOLORF7MINI/config.h @@ -29,7 +29,6 @@ #define USE_BARO #define USE_FLASH #define USE_GYRO -#define USE_SPI_GYRO #define USE_ACC_SPI_MPU6500 #define USE_BARO_BMP280 diff --git a/configs/FLYCOLORF7_AIO/config.h b/configs/FLYCOLORF7_AIO/config.h index 6f252db7..c8bf7fe8 100644 --- a/configs/FLYCOLORF7_AIO/config.h +++ b/configs/FLYCOLORF7_AIO/config.h @@ -102,7 +102,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN_ROLL 0 #define GYRO_1_ALIGN_PITCH 0 diff --git a/configs/FLYCOLORF7_AIO_HD/config.h b/configs/FLYCOLORF7_AIO_HD/config.h index a3518f87..67384195 100644 --- a/configs/FLYCOLORF7_AIO_HD/config.h +++ b/configs/FLYCOLORF7_AIO_HD/config.h @@ -108,7 +108,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define ALIGN_BOARD_YAW -45 #define PINIO1_BOX 40 diff --git a/configs/FLYWOOF405/config.h b/configs/FLYWOOF405/config.h index 7fb944d3..b5750b2f 100644 --- a/configs/FLYWOOF405/config.h +++ b/configs/FLYWOOF405/config.h @@ -113,7 +113,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/FLYWOOF405NANO/config.h b/configs/FLYWOOF405NANO/config.h index 8ce94963..ac4a38fa 100644 --- a/configs/FLYWOOF405NANO/config.h +++ b/configs/FLYWOOF405NANO/config.h @@ -108,5 +108,4 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/FLYWOOF405PRO/config.h b/configs/FLYWOOF405PRO/config.h index 674db812..442b11b2 100644 --- a/configs/FLYWOOF405PRO/config.h +++ b/configs/FLYWOOF405PRO/config.h @@ -106,7 +106,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/FLYWOOF405S_AIO/config.h b/configs/FLYWOOF405S_AIO/config.h index 1e13f43a..8ece6cd3 100644 --- a/configs/FLYWOOF405S_AIO/config.h +++ b/configs/FLYWOOF405S_AIO/config.h @@ -105,7 +105,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FLYWOOF411/config.h b/configs/FLYWOOF411/config.h index 3ce9c7ac..5c6d92d7 100644 --- a/configs/FLYWOOF411/config.h +++ b/configs/FLYWOOF411/config.h @@ -103,7 +103,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/FLYWOOF411EVO_HD/config.h b/configs/FLYWOOF411EVO_HD/config.h index d3a8d43d..fff4d71f 100644 --- a/configs/FLYWOOF411EVO_HD/config.h +++ b/configs/FLYWOOF411EVO_HD/config.h @@ -92,7 +92,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/FLYWOOF411HEX/config.h b/configs/FLYWOOF411HEX/config.h index 90e29827..19b2769c 100644 --- a/configs/FLYWOOF411HEX/config.h +++ b/configs/FLYWOOF411HEX/config.h @@ -91,7 +91,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FLYWOOF411V2/config.h b/configs/FLYWOOF411V2/config.h index 0787ac02..2dcfd33d 100644 --- a/configs/FLYWOOF411V2/config.h +++ b/configs/FLYWOOF411V2/config.h @@ -95,7 +95,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FLYWOOF411_5IN1_AIO/config.h b/configs/FLYWOOF411_5IN1_AIO/config.h index 19195ecc..5dfaf990 100644 --- a/configs/FLYWOOF411_5IN1_AIO/config.h +++ b/configs/FLYWOOF411_5IN1_AIO/config.h @@ -97,6 +97,5 @@ #define MAX7456_SPI_INSTANCE SPI2 //TODO #define FRSKY_SPI_TX_ID 64,120 //TODO #define FRSKY_SPI_OFFSET -103 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW0_DEG_FLIP diff --git a/configs/FLYWOOF745/config.h b/configs/FLYWOOF745/config.h index a5ace73f..cd007ef6 100644 --- a/configs/FLYWOOF745/config.h +++ b/configs/FLYWOOF745/config.h @@ -112,7 +112,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW270_DEG #define GYRO_2_SPI_INSTANCE SPI4 diff --git a/configs/FLYWOOF745AIO/config.h b/configs/FLYWOOF745AIO/config.h index 5e02532e..58a6c17d 100644 --- a/configs/FLYWOOF745AIO/config.h +++ b/configs/FLYWOOF745AIO/config.h @@ -112,7 +112,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW270_DEG #define GYRO_2_SPI_INSTANCE SPI4 diff --git a/configs/FLYWOOF745NANO/config.h b/configs/FLYWOOF745NANO/config.h index 142ae0c3..32c83167 100644 --- a/configs/FLYWOOF745NANO/config.h +++ b/configs/FLYWOOF745NANO/config.h @@ -113,6 +113,5 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW270_DEG diff --git a/configs/FLYWOOF7DUAL/config.h b/configs/FLYWOOF7DUAL/config.h index 3bd6065c..9bbee5df 100644 --- a/configs/FLYWOOF7DUAL/config.h +++ b/configs/FLYWOOF7DUAL/config.h @@ -122,7 +122,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/FOSSF4ELRS/config.h b/configs/FOSSF4ELRS/config.h index 28083eab..743f1468 100644 --- a/configs/FOSSF4ELRS/config.h +++ b/configs/FOSSF4ELRS/config.h @@ -117,6 +117,5 @@ #define DEFAULT_CURRENT_METER_SCALE 800 #define DEFAULT_VOLTAGE_METER_SCALE 110 -#define USE_SPI_GYRO #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FOXEERF405/config.h b/configs/FOXEERF405/config.h index 5717fbe1..1107cdac 100644 --- a/configs/FOXEERF405/config.h +++ b/configs/FOXEERF405/config.h @@ -104,7 +104,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/FOXEERF722DUAL/config.h b/configs/FOXEERF722DUAL/config.h index fc3e1f7b..19e61cbf 100644 --- a/configs/FOXEERF722DUAL/config.h +++ b/configs/FOXEERF722DUAL/config.h @@ -102,7 +102,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/FOXEERF722V2/config.h b/configs/FOXEERF722V2/config.h index c61c137f..04fe0f00 100644 --- a/configs/FOXEERF722V2/config.h +++ b/configs/FOXEERF722V2/config.h @@ -99,6 +99,5 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG diff --git a/configs/FOXEERF722V3/config.h b/configs/FOXEERF722V3/config.h index 1e0eca45..3bb6ad71 100644 --- a/configs/FOXEERF722V3/config.h +++ b/configs/FOXEERF722V3/config.h @@ -100,6 +100,5 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/FOXEERF722V4/config.h b/configs/FOXEERF722V4/config.h index 1485510d..f35a3417 100644 --- a/configs/FOXEERF722V4/config.h +++ b/configs/FOXEERF722V4/config.h @@ -104,6 +104,5 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG diff --git a/configs/FOXEERF745V2_AIO/config.h b/configs/FOXEERF745V2_AIO/config.h index f889a106..95071a8f 100644 --- a/configs/FOXEERF745V2_AIO/config.h +++ b/configs/FOXEERF745V2_AIO/config.h @@ -97,6 +97,5 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI1 #define FLASH_SPI_INSTANCE SPI4 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FOXEERF745V3_AIO/config.h b/configs/FOXEERF745V3_AIO/config.h index 8502ad32..ae0e1c42 100644 --- a/configs/FOXEERF745V3_AIO/config.h +++ b/configs/FOXEERF745V3_AIO/config.h @@ -98,7 +98,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI1 #define FLASH_SPI_INSTANCE SPI4 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FOXEERF745V4_AIO/config.h b/configs/FOXEERF745V4_AIO/config.h index 83c7d06d..8b3a395b 100644 --- a/configs/FOXEERF745V4_AIO/config.h +++ b/configs/FOXEERF745V4_AIO/config.h @@ -101,7 +101,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI1 #define FLASH_SPI_INSTANCE SPI4 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FOXEERF745_AIO/config.h b/configs/FOXEERF745_AIO/config.h index 72a79a56..d9c8854a 100644 --- a/configs/FOXEERF745_AIO/config.h +++ b/configs/FOXEERF745_AIO/config.h @@ -98,7 +98,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI1 #define FLASH_SPI_INSTANCE SPI4 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FOXEERH743/config.h b/configs/FOXEERH743/config.h index 8680fdb6..0e496d8b 100644 --- a/configs/FOXEERH743/config.h +++ b/configs/FOXEERH743/config.h @@ -122,7 +122,6 @@ #define MAX7456_SPI_INSTANCE SPI1 #define FLASH_SPI_INSTANCE SPI3 //TODO #define SDCARD_MODE OFF -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW0_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FPVCYCLEF401/config.h b/configs/FPVCYCLEF401/config.h index a74ddfab..516005a6 100644 --- a/configs/FPVCYCLEF401/config.h +++ b/configs/FPVCYCLEF401/config.h @@ -71,7 +71,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/FPVM_BETAFLIGHTF7/config.h b/configs/FPVM_BETAFLIGHTF7/config.h index 2b8d8604..b0f55e41 100644 --- a/configs/FPVM_BETAFLIGHTF7/config.h +++ b/configs/FPVM_BETAFLIGHTF7/config.h @@ -103,7 +103,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI4 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/FREEAXISF4/config.h b/configs/FREEAXISF4/config.h index c072e0fb..a0180d2f 100644 --- a/configs/FREEAXISF4/config.h +++ b/configs/FREEAXISF4/config.h @@ -90,6 +90,5 @@ #define SYSTEM_HSE_MHZ 8 #define FLASH_SPI_INSTANCE SPI2 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/FRSKYF4/config.h b/configs/FRSKYF4/config.h index 1421b89d..a61b0170 100644 --- a/configs/FRSKYF4/config.h +++ b/configs/FRSKYF4/config.h @@ -107,7 +107,6 @@ #define SDCARD_SPI_INSTANCE SPI2 #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/FURYF4/config.h b/configs/FURYF4/config.h index 2125b594..19adb214 100644 --- a/configs/FURYF4/config.h +++ b/configs/FURYF4/config.h @@ -99,7 +99,6 @@ #define SYSTEM_HSE_MHZ 8 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/GEELANGF411/config.h b/configs/GEELANGF411/config.h index 2340f462..6d12af90 100644 --- a/configs/GEELANGF411/config.h +++ b/configs/GEELANGF411/config.h @@ -89,7 +89,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/GEMEF411/config.h b/configs/GEMEF411/config.h index 6ed85b83..2844262d 100644 --- a/configs/GEMEF411/config.h +++ b/configs/GEMEF411/config.h @@ -96,7 +96,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/GEMEF722/config.h b/configs/GEMEF722/config.h index 9e3a1474..8d2eed6d 100644 --- a/configs/GEMEF722/config.h +++ b/configs/GEMEF722/config.h @@ -87,7 +87,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/GEPRCF405/config.h b/configs/GEPRCF405/config.h index eb2edef1..36dc9a3a 100644 --- a/configs/GEPRCF405/config.h +++ b/configs/GEPRCF405/config.h @@ -114,7 +114,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI1 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/GEPRCF411/config.h b/configs/GEPRCF411/config.h index 59ec60cf..1bb055a0 100644 --- a/configs/GEPRCF411/config.h +++ b/configs/GEPRCF411/config.h @@ -93,5 +93,4 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/GEPRCF411SX1280/config.h b/configs/GEPRCF411SX1280/config.h index 48846253..d5df0f47 100644 --- a/configs/GEPRCF411SX1280/config.h +++ b/configs/GEPRCF411SX1280/config.h @@ -116,6 +116,5 @@ #define MAX7456_SPI_INSTANCE SPI2 //TODO #define LED_INVERSION 1 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN_YAW -45 diff --git a/configs/GEPRCF411_AIO/config.h b/configs/GEPRCF411_AIO/config.h index e6a7b572..329ca6c3 100644 --- a/configs/GEPRCF411_AIO/config.h +++ b/configs/GEPRCF411_AIO/config.h @@ -99,6 +99,5 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/GEPRCF411_PRO/config.h b/configs/GEPRCF411_PRO/config.h index a734a04e..a0e5f9d4 100644 --- a/configs/GEPRCF411_PRO/config.h +++ b/configs/GEPRCF411_PRO/config.h @@ -81,6 +81,5 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define BEEPER_INVERTED diff --git a/configs/GEPRCF722/config.h b/configs/GEPRCF722/config.h index e8c1545c..e06df0de 100644 --- a/configs/GEPRCF722/config.h +++ b/configs/GEPRCF722/config.h @@ -115,7 +115,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/GEPRCF722BT/config.h b/configs/GEPRCF722BT/config.h index c5a0247e..30997957 100644 --- a/configs/GEPRCF722BT/config.h +++ b/configs/GEPRCF722BT/config.h @@ -103,5 +103,4 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/GEPRCF722_BT_HD/config.h b/configs/GEPRCF722_BT_HD/config.h index 55b5f627..11fc6ab1 100644 --- a/configs/GEPRCF722_BT_HD/config.h +++ b/configs/GEPRCF722_BT_HD/config.h @@ -120,6 +120,5 @@ #define PINIO2_BOX 40 #define PINIO3_BOX 41 #define PINIO4_BOX 42 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/GEPRC_F722_AIO/config.h b/configs/GEPRC_F722_AIO/config.h index 14ec3681..38bac580 100644 --- a/configs/GEPRC_F722_AIO/config.h +++ b/configs/GEPRC_F722_AIO/config.h @@ -108,7 +108,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/GEP_F405_VTX_V3/config.h b/configs/GEP_F405_VTX_V3/config.h index 7948db07..aefdfaec 100644 --- a/configs/GEP_F405_VTX_V3/config.h +++ b/configs/GEP_F405_VTX_V3/config.h @@ -99,7 +99,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/GRAVITYF7/config.h b/configs/GRAVITYF7/config.h index 120e3552..8ff9e8fc 100644 --- a/configs/GRAVITYF7/config.h +++ b/configs/GRAVITYF7/config.h @@ -104,7 +104,6 @@ //TODO #define OSD_DISPLAYPORT_DEVICE MAX7456 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW0_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/HAKRCF405/config.h b/configs/HAKRCF405/config.h index c4d1a6c6..a5522d7b 100644 --- a/configs/HAKRCF405/config.h +++ b/configs/HAKRCF405/config.h @@ -100,7 +100,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/HAKRCF405D/config.h b/configs/HAKRCF405D/config.h index ce4459b4..41abf927 100644 --- a/configs/HAKRCF405D/config.h +++ b/configs/HAKRCF405D/config.h @@ -119,7 +119,6 @@ #define DEFAULT_CURRENT_METER_SCALE 179 #define PINIO1_BOX 40 #define PINIO2_BOX 41 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/HAKRCF405V2/config.h b/configs/HAKRCF405V2/config.h index bc4fc212..bc880642 100644 --- a/configs/HAKRCF405V2/config.h +++ b/configs/HAKRCF405V2/config.h @@ -114,7 +114,6 @@ #define FLASH_SPI_INSTANCE SPI3 #define PINIO1_BOX 40 #define PINIO2_BOX 41 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/HAKRCF411/config.h b/configs/HAKRCF411/config.h index b83ad3a8..50a6a568 100644 --- a/configs/HAKRCF411/config.h +++ b/configs/HAKRCF411/config.h @@ -83,7 +83,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/HAKRCF411D/config.h b/configs/HAKRCF411D/config.h index c981e9f6..bcdc8e3c 100644 --- a/configs/HAKRCF411D/config.h +++ b/configs/HAKRCF411D/config.h @@ -100,6 +100,5 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/HAKRCF722/config.h b/configs/HAKRCF722/config.h index d5f06d0d..b6332fe4 100644 --- a/configs/HAKRCF722/config.h +++ b/configs/HAKRCF722/config.h @@ -93,7 +93,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/HAKRCF722MINI/config.h b/configs/HAKRCF722MINI/config.h index 6e1ce13f..9cf9e7f1 100644 --- a/configs/HAKRCF722MINI/config.h +++ b/configs/HAKRCF722MINI/config.h @@ -119,7 +119,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/HAKRCF722V2/config.h b/configs/HAKRCF722V2/config.h index 89b3292b..600b57e3 100644 --- a/configs/HAKRCF722V2/config.h +++ b/configs/HAKRCF722V2/config.h @@ -115,7 +115,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/HAKRCF7230D/config.h b/configs/HAKRCF7230D/config.h index d91bdf94..81c33887 100644 --- a/configs/HAKRCF7230D/config.h +++ b/configs/HAKRCF7230D/config.h @@ -118,9 +118,7 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP -#define USE_SPI_GYRO #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG diff --git a/configs/HELSEL_STRIKERF7/config.h b/configs/HELSEL_STRIKERF7/config.h index 95ca9c80..6ddc578c 100644 --- a/configs/HELSEL_STRIKERF7/config.h +++ b/configs/HELSEL_STRIKERF7/config.h @@ -81,7 +81,6 @@ #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_CURRENT_METER_SCALE 179 #define BEEPER_INVERTED -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/HGLRCF405/config.h b/configs/HGLRCF405/config.h index d4c68a36..7163e2ec 100644 --- a/configs/HGLRCF405/config.h +++ b/configs/HGLRCF405/config.h @@ -116,7 +116,6 @@ //TODO #define DASHBOARD_I2C_ADDR 60 //TODO #define USB_MSC_PIN_PULLUP ON #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/HGLRCF405AS/config.h b/configs/HGLRCF405AS/config.h index 6a370f63..c831cefc 100644 --- a/configs/HGLRCF405AS/config.h +++ b/configs/HGLRCF405AS/config.h @@ -110,7 +110,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/HGLRCF405V2/config.h b/configs/HGLRCF405V2/config.h index 3fe9f3a3..7236f8b2 100644 --- a/configs/HGLRCF405V2/config.h +++ b/configs/HGLRCF405V2/config.h @@ -102,6 +102,5 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG diff --git a/configs/HGLRCF411/config.h b/configs/HGLRCF411/config.h index 67c6060a..5181bfdc 100644 --- a/configs/HGLRCF411/config.h +++ b/configs/HGLRCF411/config.h @@ -89,7 +89,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/HGLRCF411SX1280/config.h b/configs/HGLRCF411SX1280/config.h index 0b1c91c5..55b256f8 100644 --- a/configs/HGLRCF411SX1280/config.h +++ b/configs/HGLRCF411SX1280/config.h @@ -106,7 +106,6 @@ #define MAX7456_SPI_INSTANCE SPI2 //TODO #define LED_INVERSION 1 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/HGLRCF722/config.h b/configs/HGLRCF722/config.h index 81e8aa3d..ee374f9c 100644 --- a/configs/HGLRCF722/config.h +++ b/configs/HGLRCF722/config.h @@ -115,7 +115,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/HGLRCF722AIO/config.h b/configs/HGLRCF722AIO/config.h index 739c3b9d..b997fda9 100644 --- a/configs/HGLRCF722AIO/config.h +++ b/configs/HGLRCF722AIO/config.h @@ -112,7 +112,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/HGLRCF722E/config.h b/configs/HGLRCF722E/config.h index fbe4401c..cf67da5f 100644 --- a/configs/HGLRCF722E/config.h +++ b/configs/HGLRCF722E/config.h @@ -112,7 +112,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/HGLRCF722MINI/config.h b/configs/HGLRCF722MINI/config.h index f52b809d..fc5f25c7 100644 --- a/configs/HGLRCF722MINI/config.h +++ b/configs/HGLRCF722MINI/config.h @@ -106,7 +106,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW0_DEG #define PINIO1_BOX 40 diff --git a/configs/HGLRCF722MINIV2/config.h b/configs/HGLRCF722MINIV2/config.h index f644190e..60b2500e 100644 --- a/configs/HGLRCF722MINIV2/config.h +++ b/configs/HGLRCF722MINIV2/config.h @@ -106,7 +106,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW0_DEG #define PINIO1_BOX 40 diff --git a/configs/HGLRCF745/config.h b/configs/HGLRCF745/config.h index 01863fa3..e548ca52 100644 --- a/configs/HGLRCF745/config.h +++ b/configs/HGLRCF745/config.h @@ -118,7 +118,6 @@ //TODO #define MAX7456_PREINIT_OPU OFF //TODO #define LED_INVERSION 0 //TODO #define USB_MSC_PIN_PULLUP ON -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW90_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/HIFIONRCF7/config.h b/configs/HIFIONRCF7/config.h index d877bf06..e14e3dfe 100644 --- a/configs/HIFIONRCF7/config.h +++ b/configs/HIFIONRCF7/config.h @@ -103,7 +103,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/HOBBYWING_XROTORF4G3/config.h b/configs/HOBBYWING_XROTORF4G3/config.h index d6219223..ad88d2b2 100644 --- a/configs/HOBBYWING_XROTORF4G3/config.h +++ b/configs/HOBBYWING_XROTORF4G3/config.h @@ -114,7 +114,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/HOBBYWING_XROTORF7CONV/config.h b/configs/HOBBYWING_XROTORF7CONV/config.h index d1adf8c2..ab87d893 100644 --- a/configs/HOBBYWING_XROTORF7CONV/config.h +++ b/configs/HOBBYWING_XROTORF7CONV/config.h @@ -113,7 +113,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/IFLIGHT_BLITZ_F405/config.h b/configs/IFLIGHT_BLITZ_F405/config.h index 7b130997..0fe406c2 100644 --- a/configs/IFLIGHT_BLITZ_F405/config.h +++ b/configs/IFLIGHT_BLITZ_F405/config.h @@ -91,5 +91,4 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/IFLIGHT_BLITZ_F411RX/config.h b/configs/IFLIGHT_BLITZ_F411RX/config.h index 8e79e246..1931d0d3 100644 --- a/configs/IFLIGHT_BLITZ_F411RX/config.h +++ b/configs/IFLIGHT_BLITZ_F411RX/config.h @@ -86,7 +86,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define RX_CC2500_SPI_DISABLE_CHIP_DETECTION -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/IFLIGHT_BLITZ_F722/config.h b/configs/IFLIGHT_BLITZ_F722/config.h index e70d80c3..a05453b9 100644 --- a/configs/IFLIGHT_BLITZ_F722/config.h +++ b/configs/IFLIGHT_BLITZ_F722/config.h @@ -109,5 +109,4 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/IFLIGHT_BLITZ_F722_X1/config.h b/configs/IFLIGHT_BLITZ_F722_X1/config.h index ba7cc9a8..7e9c29da 100644 --- a/configs/IFLIGHT_BLITZ_F722_X1/config.h +++ b/configs/IFLIGHT_BLITZ_F722_X1/config.h @@ -108,7 +108,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/IFLIGHT_BLITZ_F7_AIO/config.h b/configs/IFLIGHT_BLITZ_F7_AIO/config.h index d53cd37a..9975153b 100644 --- a/configs/IFLIGHT_BLITZ_F7_AIO/config.h +++ b/configs/IFLIGHT_BLITZ_F7_AIO/config.h @@ -121,5 +121,4 @@ #define MAX7456_SPI_INSTANCE SPI4 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/IFLIGHT_BLITZ_F7_PRO/config.h b/configs/IFLIGHT_BLITZ_F7_PRO/config.h index 3c66fd05..f1ea1d14 100644 --- a/configs/IFLIGHT_BLITZ_F7_PRO/config.h +++ b/configs/IFLIGHT_BLITZ_F7_PRO/config.h @@ -106,7 +106,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/IFLIGHT_DEFENDER_F411/config.h b/configs/IFLIGHT_DEFENDER_F411/config.h index f1843ad9..edb84b7e 100644 --- a/configs/IFLIGHT_DEFENDER_F411/config.h +++ b/configs/IFLIGHT_DEFENDER_F411/config.h @@ -91,7 +91,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define BEEPER_INVERTED #define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_OFF diff --git a/configs/IFLIGHT_F405_AIO/config.h b/configs/IFLIGHT_F405_AIO/config.h index 54007236..550a287a 100644 --- a/configs/IFLIGHT_F405_AIO/config.h +++ b/configs/IFLIGHT_F405_AIO/config.h @@ -97,6 +97,5 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define BEEPER_INVERTED diff --git a/configs/IFLIGHT_F405_TWING/config.h b/configs/IFLIGHT_F405_TWING/config.h index 40a1f7b8..106f85ad 100644 --- a/configs/IFLIGHT_F405_TWING/config.h +++ b/configs/IFLIGHT_F405_TWING/config.h @@ -109,7 +109,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG diff --git a/configs/IFLIGHT_F411_AIO32/config.h b/configs/IFLIGHT_F411_AIO32/config.h index abff28b5..14dca9e5 100644 --- a/configs/IFLIGHT_F411_AIO32/config.h +++ b/configs/IFLIGHT_F411_AIO32/config.h @@ -96,6 +96,5 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/IFLIGHT_F411_PRO/config.h b/configs/IFLIGHT_F411_PRO/config.h index ad617db3..1a1a051b 100644 --- a/configs/IFLIGHT_F411_PRO/config.h +++ b/configs/IFLIGHT_F411_PRO/config.h @@ -92,7 +92,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define BEEPER_INVERTED #define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_OFF diff --git a/configs/IFLIGHT_F4SX1280/config.h b/configs/IFLIGHT_F4SX1280/config.h index fc5a1bb4..c7e9c622 100644 --- a/configs/IFLIGHT_F4SX1280/config.h +++ b/configs/IFLIGHT_F4SX1280/config.h @@ -95,7 +95,6 @@ #define DEFAULT_CURRENT_METER_SCALE 400 #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/IFLIGHT_F722_TWING/config.h b/configs/IFLIGHT_F722_TWING/config.h index d63c323f..89eb7f92 100644 --- a/configs/IFLIGHT_F722_TWING/config.h +++ b/configs/IFLIGHT_F722_TWING/config.h @@ -117,7 +117,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG diff --git a/configs/IFLIGHT_F745_AIO/config.h b/configs/IFLIGHT_F745_AIO/config.h index 650dca64..455c12b2 100644 --- a/configs/IFLIGHT_F745_AIO/config.h +++ b/configs/IFLIGHT_F745_AIO/config.h @@ -115,6 +115,5 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI4 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN_YAW 0 diff --git a/configs/IFLIGHT_F745_AIO_V2/config.h b/configs/IFLIGHT_F745_AIO_V2/config.h index 3376bb3d..8728b929 100644 --- a/configs/IFLIGHT_F745_AIO_V2/config.h +++ b/configs/IFLIGHT_F745_AIO_V2/config.h @@ -118,7 +118,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI4 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI2 #define GYRO_2_ALIGN CW180_DEG diff --git a/configs/IFLIGHT_H743_AIO_V2/config.h b/configs/IFLIGHT_H743_AIO_V2/config.h index 17c6de22..f2b31e02 100644 --- a/configs/IFLIGHT_H743_AIO_V2/config.h +++ b/configs/IFLIGHT_H743_AIO_V2/config.h @@ -122,8 +122,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI4 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_2_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 diff --git a/configs/IFLIGHT_H7_TWING/config.h b/configs/IFLIGHT_H7_TWING/config.h index 2cc83e36..a38ffca0 100644 --- a/configs/IFLIGHT_H7_TWING/config.h +++ b/configs/IFLIGHT_H7_TWING/config.h @@ -119,7 +119,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI4 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI2 #define GYRO_2_ALIGN CW90_DEG diff --git a/configs/IFLIGHT_SUCCEX_E_F4/config.h b/configs/IFLIGHT_SUCCEX_E_F4/config.h index 4f8e7e8e..49f8413b 100644 --- a/configs/IFLIGHT_SUCCEX_E_F4/config.h +++ b/configs/IFLIGHT_SUCCEX_E_F4/config.h @@ -97,7 +97,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define BEEPER_INVERTED diff --git a/configs/IFLIGHT_SUCCEX_E_F7/config.h b/configs/IFLIGHT_SUCCEX_E_F7/config.h index edc80a8e..6da3a7c0 100644 --- a/configs/IFLIGHT_SUCCEX_E_F7/config.h +++ b/configs/IFLIGHT_SUCCEX_E_F7/config.h @@ -111,6 +111,5 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/JBF7/config.h b/configs/JBF7/config.h index 4e406a15..d20d9def 100644 --- a/configs/JBF7/config.h +++ b/configs/JBF7/config.h @@ -157,7 +157,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG diff --git a/configs/JBF7_DJI/config.h b/configs/JBF7_DJI/config.h index 1e7fc046..0d359f8d 100644 --- a/configs/JBF7_DJI/config.h +++ b/configs/JBF7_DJI/config.h @@ -131,7 +131,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG diff --git a/configs/JBF7_V2/config.h b/configs/JBF7_V2/config.h index 6dec79ec..e56404f8 100644 --- a/configs/JBF7_V2/config.h +++ b/configs/JBF7_V2/config.h @@ -111,5 +111,4 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/JHEF411/config.h b/configs/JHEF411/config.h index c631b546..6c7f4773 100644 --- a/configs/JHEF411/config.h +++ b/configs/JHEF411/config.h @@ -100,7 +100,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/JHEF745/config.h b/configs/JHEF745/config.h index 2148f04c..1ab0f8d2 100644 --- a/configs/JHEF745/config.h +++ b/configs/JHEF745/config.h @@ -113,6 +113,5 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW270_DEG diff --git a/configs/JHEF7DUAL/config.h b/configs/JHEF7DUAL/config.h index a4577b6c..080f4ffd 100644 --- a/configs/JHEF7DUAL/config.h +++ b/configs/JHEF7DUAL/config.h @@ -113,7 +113,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/JHEH743_AIO/config.h b/configs/JHEH743_AIO/config.h index 2732a72f..f13f3469 100644 --- a/configs/JHEH743_AIO/config.h +++ b/configs/JHEH743_AIO/config.h @@ -122,6 +122,5 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI4 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI2 diff --git a/configs/KAKUTEF4/config.h b/configs/KAKUTEF4/config.h index b620de45..653a3e47 100644 --- a/configs/KAKUTEF4/config.h +++ b/configs/KAKUTEF4/config.h @@ -94,7 +94,6 @@ #define MAX7456_SPI_INSTANCE SPI3 //TODO #define MAX7456_PREINIT_OPU ON #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/KAKUTEF4V2/config.h b/configs/KAKUTEF4V2/config.h index b186c635..3ed086ee 100644 --- a/configs/KAKUTEF4V2/config.h +++ b/configs/KAKUTEF4V2/config.h @@ -100,7 +100,6 @@ //TODO #define MAX7456_PREINIT_OPU ON #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/KAKUTEF7/config.h b/configs/KAKUTEF7/config.h index d4b9ecd3..90312ea3 100644 --- a/configs/KAKUTEF7/config.h +++ b/configs/KAKUTEF7/config.h @@ -106,7 +106,6 @@ #define SDCARD_SPI_INSTANCE SPI1 #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW270_DEG #define GYRO_2_SPI_INSTANCE SPI4 diff --git a/configs/KAKUTEF7HDV/config.h b/configs/KAKUTEF7HDV/config.h index a2408e71..b99eef8f 100644 --- a/configs/KAKUTEF7HDV/config.h +++ b/configs/KAKUTEF7HDV/config.h @@ -103,7 +103,6 @@ #define USE_SDCARD_SPI #define SDCARD_SPI_INSTANCE SPI1 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW270_DEG #define GYRO_2_SPI_INSTANCE SPI4 diff --git a/configs/KAKUTEF7MINI/config.h b/configs/KAKUTEF7MINI/config.h index 37632693..5fcf6b2f 100644 --- a/configs/KAKUTEF7MINI/config.h +++ b/configs/KAKUTEF7MINI/config.h @@ -105,7 +105,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW270_DEG #define GYRO_2_SPI_INSTANCE SPI4 diff --git a/configs/KAKUTEF7V2/config.h b/configs/KAKUTEF7V2/config.h index ec790cb5..16da9d8f 100644 --- a/configs/KAKUTEF7V2/config.h +++ b/configs/KAKUTEF7V2/config.h @@ -105,7 +105,6 @@ #define SDCARD_SPI_INSTANCE SPI1 #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/KAKUTEG4AIO/config.h b/configs/KAKUTEG4AIO/config.h index 41968985..ad92f35a 100644 --- a/configs/KAKUTEG4AIO/config.h +++ b/configs/KAKUTEG4AIO/config.h @@ -37,7 +37,6 @@ #define USE_FLASH_W25Q128FV #define USE_GYRO #define USE_GYRO_SPI_ICM42688P -#define USE_SPI_GYRO #define USE_MAX7456 #define USE_CAMERA_CONTROL diff --git a/configs/KAKUTEH7/config.h b/configs/KAKUTEH7/config.h index 18e74c6c..b1dfd70f 100644 --- a/configs/KAKUTEH7/config.h +++ b/configs/KAKUTEH7/config.h @@ -119,7 +119,6 @@ #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/KAKUTEH7MINI/config.h b/configs/KAKUTEH7MINI/config.h index 145ddae0..40a2b23d 100644 --- a/configs/KAKUTEH7MINI/config.h +++ b/configs/KAKUTEH7MINI/config.h @@ -120,7 +120,6 @@ #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define PINIO1_CONFIG 129 #define PINIO1_BOX 40 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/KAKUTEH7V2/config.h b/configs/KAKUTEH7V2/config.h index 0da84079..393862f6 100644 --- a/configs/KAKUTEH7V2/config.h +++ b/configs/KAKUTEH7V2/config.h @@ -120,5 +120,4 @@ #define PINIO2_CONFIG 129 #define PINIO1_BOX 0 #define PINIO2_BOX 40 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI4 diff --git a/configs/KD722/config.h b/configs/KD722/config.h index 2a513cc9..3085c911 100644 --- a/configs/KD722/config.h +++ b/configs/KD722/config.h @@ -97,7 +97,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/KIWIF4/config.h b/configs/KIWIF4/config.h index 48fef58a..2b0a72b4 100644 --- a/configs/KIWIF4/config.h +++ b/configs/KIWIF4/config.h @@ -81,7 +81,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/KIWIF4V2/config.h b/configs/KIWIF4V2/config.h index e7a71097..1dad0877 100644 --- a/configs/KIWIF4V2/config.h +++ b/configs/KIWIF4V2/config.h @@ -83,7 +83,6 @@ #define SDCARD_SPI_INSTANCE SPI2 #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/KROOZX/config.h b/configs/KROOZX/config.h index 38461276..ff76bd11 100644 --- a/configs/KROOZX/config.h +++ b/configs/KROOZX/config.h @@ -105,7 +105,6 @@ #define SYSTEM_HSE_MHZ 16 #define MAX7456_SPI_INSTANCE SPI1 #define DASHBOARD_I2C_INSTANCE (I2CDEV_3) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/LDARC_F411/config.h b/configs/LDARC_F411/config.h index 0583f234..db90a978 100644 --- a/configs/LDARC_F411/config.h +++ b/configs/LDARC_F411/config.h @@ -89,6 +89,5 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/LUXAIO/config.h b/configs/LUXAIO/config.h index 8359ea57..6dc0a5bf 100644 --- a/configs/LUXAIO/config.h +++ b/configs/LUXAIO/config.h @@ -90,7 +90,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW90_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/LUXF4OSD/config.h b/configs/LUXF4OSD/config.h index 849688f9..7ad52d7b 100644 --- a/configs/LUXF4OSD/config.h +++ b/configs/LUXF4OSD/config.h @@ -109,7 +109,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/LUXF7HDV/config.h b/configs/LUXF7HDV/config.h index bb343304..bce3507b 100644 --- a/configs/LUXF7HDV/config.h +++ b/configs/LUXF7HDV/config.h @@ -84,7 +84,6 @@ #define BEEPER_INVERTED //TODO #define ESC_SENSOR_HALFDUPLEX ON #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/LUXHDAIO-G4/config.h b/configs/LUXHDAIO-G4/config.h index 58057eac..3d9343f8 100644 --- a/configs/LUXHDAIO-G4/config.h +++ b/configs/LUXHDAIO-G4/config.h @@ -30,7 +30,6 @@ #define USE_ACC_SPI_ICM42688P #define USE_GYRO #define USE_GYRO_SPI_ICM42688P -#define USE_SPI_GYRO #define USE_BARO #define USE_BARO_DPS310 #define USE_BARO_QMP6988 diff --git a/configs/LUXMINIF7/config.h b/configs/LUXMINIF7/config.h index 94bc2337..63c5ccd6 100644 --- a/configs/LUXMINIF7/config.h +++ b/configs/LUXMINIF7/config.h @@ -96,6 +96,5 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/MAMBAF405US/config.h b/configs/MAMBAF405US/config.h index 752cf334..8d334969 100644 --- a/configs/MAMBAF405US/config.h +++ b/configs/MAMBAF405US/config.h @@ -42,7 +42,6 @@ #define GYRO_1_EXTI_PIN PC4 #define GYRO_1_CS_PIN PA4 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/MAMBAF405US_I2C/config.h b/configs/MAMBAF405US_I2C/config.h index 7a512740..6804a468 100644 --- a/configs/MAMBAF405US_I2C/config.h +++ b/configs/MAMBAF405US_I2C/config.h @@ -43,7 +43,6 @@ #define GYRO_1_EXTI_PIN PC4 #define GYRO_1_CS_PIN PA4 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/MAMBAF405_2022A/config.h b/configs/MAMBAF405_2022A/config.h index ea170ca5..56369e0b 100644 --- a/configs/MAMBAF405_2022A/config.h +++ b/configs/MAMBAF405_2022A/config.h @@ -112,7 +112,6 @@ #define PINIO1_BOX 0 #define PINIO2_BOX 40 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/MAMBAF405_2022B/config.h b/configs/MAMBAF405_2022B/config.h index 6123d5ff..d75ab07e 100644 --- a/configs/MAMBAF405_2022B/config.h +++ b/configs/MAMBAF405_2022B/config.h @@ -114,7 +114,6 @@ #define PINIO1_BOX 0 #define PINIO2_BOX 40 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/MAMBAF411/config.h b/configs/MAMBAF411/config.h index 75ddaa2a..9b762f47 100644 --- a/configs/MAMBAF411/config.h +++ b/configs/MAMBAF411/config.h @@ -39,7 +39,6 @@ #define GYRO_1_EXTI_PIN PB0 #define GYRO_1_CS_PIN PA4 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/MAMBAF722/config.h b/configs/MAMBAF722/config.h index 0d18f4ec..a2380d6a 100644 --- a/configs/MAMBAF722/config.h +++ b/configs/MAMBAF722/config.h @@ -41,7 +41,6 @@ #define GYRO_1_EXTI_PIN PC4 #define GYRO_1_CS_PIN PA4 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/MAMBAF722_2022A/config.h b/configs/MAMBAF722_2022A/config.h index 85eee195..d1ef1eaa 100644 --- a/configs/MAMBAF722_2022A/config.h +++ b/configs/MAMBAF722_2022A/config.h @@ -113,7 +113,6 @@ #define PINIO2_CONFIG 129 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/MAMBAF722_2022B/config.h b/configs/MAMBAF722_2022B/config.h index c49a4fb6..68e4fa32 100644 --- a/configs/MAMBAF722_2022B/config.h +++ b/configs/MAMBAF722_2022B/config.h @@ -115,7 +115,6 @@ #define PINIO1_BOX 0 #define PINIO2_BOX 40 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/MAMBAF722_I2C/config.h b/configs/MAMBAF722_I2C/config.h index 0c5471e6..cb74bbd8 100644 --- a/configs/MAMBAF722_I2C/config.h +++ b/configs/MAMBAF722_I2C/config.h @@ -46,7 +46,6 @@ #define GYRO_1_EXTI_PIN PC4 #define GYRO_1_CS_PIN PA4 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/MAMBAF722_X8/config.h b/configs/MAMBAF722_X8/config.h index a5aef143..fc14873e 100644 --- a/configs/MAMBAF722_X8/config.h +++ b/configs/MAMBAF722_X8/config.h @@ -107,7 +107,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/MAMBAG4/config.h b/configs/MAMBAG4/config.h index e1431dbd..e2428f9f 100644 --- a/configs/MAMBAG4/config.h +++ b/configs/MAMBAG4/config.h @@ -91,7 +91,6 @@ #define DEFAULT_PID_PROCESS_DENOM 2 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/MAMBAH743/config.h b/configs/MAMBAH743/config.h index 9cf6cc7b..3b8a0695 100644 --- a/configs/MAMBAH743/config.h +++ b/configs/MAMBAH743/config.h @@ -132,11 +132,9 @@ #define DEFAULT_CURRENT_METER_SCALE 400 #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 -#define USE_SPI_GYRO #define GYRO_2_SPI_INSTANCE SPI4 #define GYRO_2_ALIGN CW270_DEG #define GYRO_2_ALIGN_YAW 2700 diff --git a/configs/MATEKF405AIO/config.h b/configs/MATEKF405AIO/config.h index 7e8fb802..20687429 100644 --- a/configs/MATEKF405AIO/config.h +++ b/configs/MATEKF405AIO/config.h @@ -112,7 +112,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/MATEKF405CTR/config.h b/configs/MATEKF405CTR/config.h index fcbd9207..7e53750e 100644 --- a/configs/MATEKF405CTR/config.h +++ b/configs/MATEKF405CTR/config.h @@ -113,6 +113,5 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG diff --git a/configs/MATEKF405MINI/config.h b/configs/MATEKF405MINI/config.h index a73ac6e1..b1874968 100644 --- a/configs/MATEKF405MINI/config.h +++ b/configs/MATEKF405MINI/config.h @@ -109,7 +109,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/MATEKF405SE/config.h b/configs/MATEKF405SE/config.h index 8548da2f..6075c9b1 100644 --- a/configs/MATEKF405SE/config.h +++ b/configs/MATEKF405SE/config.h @@ -114,7 +114,6 @@ #define SDCARD_SPI_INSTANCE SPI3 #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG //TODO #define CAMERA_CONTROL_MODE HARDWARE_PWM diff --git a/configs/MATEKF405STD/config.h b/configs/MATEKF405STD/config.h index c26319c3..bfe858e9 100644 --- a/configs/MATEKF405STD/config.h +++ b/configs/MATEKF405STD/config.h @@ -115,6 +115,5 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/MATEKF405STD_CLONE/config.h b/configs/MATEKF405STD_CLONE/config.h index d48c8335..6b89beb6 100644 --- a/configs/MATEKF405STD_CLONE/config.h +++ b/configs/MATEKF405STD_CLONE/config.h @@ -120,6 +120,5 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/MATEKF405TE/config.h b/configs/MATEKF405TE/config.h index b5d54244..32907ec0 100644 --- a/configs/MATEKF405TE/config.h +++ b/configs/MATEKF405TE/config.h @@ -117,7 +117,6 @@ #define MAX7456_SPI_INSTANCE SPI1 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/MATEKF405TE_SD/config.h b/configs/MATEKF405TE_SD/config.h index 0eaf1f5d..cb8c8761 100644 --- a/configs/MATEKF405TE_SD/config.h +++ b/configs/MATEKF405TE_SD/config.h @@ -117,7 +117,6 @@ #define USE_SDCARD_SPI #define SDCARD_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/MATEKF411/config.h b/configs/MATEKF411/config.h index 422a35e3..0d4bb393 100644 --- a/configs/MATEKF411/config.h +++ b/configs/MATEKF411/config.h @@ -92,6 +92,5 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/MATEKF411RX/config.h b/configs/MATEKF411RX/config.h index a87fe166..b7127fde 100644 --- a/configs/MATEKF411RX/config.h +++ b/configs/MATEKF411RX/config.h @@ -95,7 +95,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define RX_CC2500_SPI_DISABLE_CHIP_DETECTION -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/MATEKF411SE/config.h b/configs/MATEKF411SE/config.h index bba6e29e..e796efe3 100644 --- a/configs/MATEKF411SE/config.h +++ b/configs/MATEKF411SE/config.h @@ -95,6 +95,5 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define PINIO1_BOX 40 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/MATEKF722/config.h b/configs/MATEKF722/config.h index d22cca6d..9938919d 100644 --- a/configs/MATEKF722/config.h +++ b/configs/MATEKF722/config.h @@ -112,7 +112,6 @@ #define USE_SDCARD_SPI #define SDCARD_SPI_INSTANCE SPI3 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/MATEKF722HD/config.h b/configs/MATEKF722HD/config.h index 43926962..dfa6d02e 100644 --- a/configs/MATEKF722HD/config.h +++ b/configs/MATEKF722HD/config.h @@ -130,7 +130,6 @@ #define FLASH_SPI_INSTANCE SPI2 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/MATEKF722MINI/config.h b/configs/MATEKF722MINI/config.h index 9f49d60e..347be8fd 100644 --- a/configs/MATEKF722MINI/config.h +++ b/configs/MATEKF722MINI/config.h @@ -121,7 +121,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/MATEKF722SE/config.h b/configs/MATEKF722SE/config.h index 99050b22..6a2ecc9f 100644 --- a/configs/MATEKF722SE/config.h +++ b/configs/MATEKF722SE/config.h @@ -122,7 +122,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define PINIO1_BOX 40 #define PINIO2_BOX 41 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/MATEKH743/config.h b/configs/MATEKH743/config.h index bdeb937f..f51274a6 100644 --- a/configs/MATEKH743/config.h +++ b/configs/MATEKH743/config.h @@ -165,7 +165,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW0_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/MEPSF411/config.h b/configs/MEPSF411/config.h index 67cc2eba..c607f9f7 100644 --- a/configs/MEPSF411/config.h +++ b/configs/MEPSF411/config.h @@ -90,7 +90,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/MEPSF4SX1280/config.h b/configs/MEPSF4SX1280/config.h index 8892b84b..f5d4e4e7 100644 --- a/configs/MEPSF4SX1280/config.h +++ b/configs/MEPSF4SX1280/config.h @@ -101,7 +101,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/MERAKRCF405/config.h b/configs/MERAKRCF405/config.h index f99ea233..1cc97173 100644 --- a/configs/MERAKRCF405/config.h +++ b/configs/MERAKRCF405/config.h @@ -98,6 +98,5 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_2_SPI_INSTANCE SPI2 diff --git a/configs/MERAKRCF722/config.h b/configs/MERAKRCF722/config.h index d9719034..c8620578 100644 --- a/configs/MERAKRCF722/config.h +++ b/configs/MERAKRCF722/config.h @@ -95,6 +95,5 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_2_SPI_INSTANCE SPI2 diff --git a/configs/MINI_H743_HD/config.h b/configs/MINI_H743_HD/config.h index 87d2a5be..dbab1cbb 100644 --- a/configs/MINI_H743_HD/config.h +++ b/configs/MINI_H743_HD/config.h @@ -136,7 +136,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/MLTEMPF4/config.h b/configs/MLTEMPF4/config.h index 60cebdaf..b3520ad8 100644 --- a/configs/MLTEMPF4/config.h +++ b/configs/MLTEMPF4/config.h @@ -92,7 +92,6 @@ #define SDCARD_SPI_INSTANCE SPI2 #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/MLTYPHF4/config.h b/configs/MLTYPHF4/config.h index 760e267a..4897cd6e 100644 --- a/configs/MLTYPHF4/config.h +++ b/configs/MLTYPHF4/config.h @@ -93,7 +93,6 @@ #define SYSTEM_HSE_MHZ 8 //TODO #define VTX_FREQ 0 #define MAX7456_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/MODULARF4/config.h b/configs/MODULARF4/config.h index ccbfd1c6..140ee566 100644 --- a/configs/MODULARF4/config.h +++ b/configs/MODULARF4/config.h @@ -83,7 +83,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/NBD_CRICKETF7/config.h b/configs/NBD_CRICKETF7/config.h index 8598e4b0..42950f4d 100644 --- a/configs/NBD_CRICKETF7/config.h +++ b/configs/NBD_CRICKETF7/config.h @@ -79,7 +79,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/NBD_CRICKETF7V2/config.h b/configs/NBD_CRICKETF7V2/config.h index 7c61a072..9da2d6ef 100644 --- a/configs/NBD_CRICKETF7V2/config.h +++ b/configs/NBD_CRICKETF7V2/config.h @@ -80,10 +80,8 @@ #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 -#define USE_SPI_GYRO #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN_YAW 0 diff --git a/configs/NBD_GALAXYAIO255/config.h b/configs/NBD_GALAXYAIO255/config.h index 21d4177b..5374b3cf 100644 --- a/configs/NBD_GALAXYAIO255/config.h +++ b/configs/NBD_GALAXYAIO255/config.h @@ -113,9 +113,7 @@ #define USE_SDCARD_SDIO #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 -#define USE_SPI_GYRO #define GYRO_2_SPI_INSTANCE SPI4 diff --git a/configs/NBD_INFINITYAIO/config.h b/configs/NBD_INFINITYAIO/config.h index 942c8063..2e374a42 100644 --- a/configs/NBD_INFINITYAIO/config.h +++ b/configs/NBD_INFINITYAIO/config.h @@ -30,7 +30,6 @@ #define USE_ACC_SPI_MPU6000 #define USE_GYRO #define USE_GYRO_SPI_MPU6000 -#define USE_SPI_GYRO #define USE_FLASH #define USE_FLASH_W25Q128FV diff --git a/configs/NBD_INFINITYAIOV2/config.h b/configs/NBD_INFINITYAIOV2/config.h index d6ec1e53..ad7994ec 100644 --- a/configs/NBD_INFINITYAIOV2/config.h +++ b/configs/NBD_INFINITYAIOV2/config.h @@ -88,7 +88,6 @@ #define BEEPER_PWM_HZ 5400 #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/NBD_INFINITYAIOV2PRO/config.h b/configs/NBD_INFINITYAIOV2PRO/config.h index e5f0b209..06ddd567 100644 --- a/configs/NBD_INFINITYAIOV2PRO/config.h +++ b/configs/NBD_INFINITYAIOV2PRO/config.h @@ -96,7 +96,6 @@ #define BEEPER_PWM_HZ 5400 #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_2_SPI_INSTANCE SPI2 #define GYRO_2_ALIGN CW270_DEG diff --git a/configs/NBD_INFINITYF4/config.h b/configs/NBD_INFINITYF4/config.h index bbe71752..d24ac2f3 100644 --- a/configs/NBD_INFINITYF4/config.h +++ b/configs/NBD_INFINITYF4/config.h @@ -102,7 +102,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI1 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/NERO/config.h b/configs/NERO/config.h index b580cfe7..dde5abb3 100644 --- a/configs/NERO/config.h +++ b/configs/NERO/config.h @@ -83,7 +83,6 @@ #define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON #define BEEPER_INVERTED -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define SDCARD_DETECT_INVERTED #define USE_SDCARD_SPI diff --git a/configs/NEUTRONRCF407/config.h b/configs/NEUTRONRCF407/config.h index abe648d4..da8fe887 100644 --- a/configs/NEUTRONRCF407/config.h +++ b/configs/NEUTRONRCF407/config.h @@ -119,7 +119,6 @@ #define PINIO3_BOX 41 #define PINIO4_BOX 42 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/NEUTRONRCF411AIO/config.h b/configs/NEUTRONRCF411AIO/config.h index f25ef05d..fe2515a4 100644 --- a/configs/NEUTRONRCF411AIO/config.h +++ b/configs/NEUTRONRCF411AIO/config.h @@ -99,7 +99,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/NEUTRONRCF411SX1280/config.h b/configs/NEUTRONRCF411SX1280/config.h index 5a7b0229..abe437a3 100644 --- a/configs/NEUTRONRCF411SX1280/config.h +++ b/configs/NEUTRONRCF411SX1280/config.h @@ -110,6 +110,5 @@ #define MAX7456_SPI_INSTANCE SPI2 //TODO #define LED_INVERSION 1 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN_YAW -45 diff --git a/configs/NEUTRONRCF435MINI/config.h b/configs/NEUTRONRCF435MINI/config.h index 85a29018..a4807f05 100644 --- a/configs/NEUTRONRCF435MINI/config.h +++ b/configs/NEUTRONRCF435MINI/config.h @@ -93,7 +93,6 @@ #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define DEFAULT_ALIGN_BOARD_YAW -45 #define MAX7456_SPI_INSTANCE SPI2 diff --git a/configs/NEUTRONRCF722AIO/config.h b/configs/NEUTRONRCF722AIO/config.h index 78c98eba..d7e3be0f 100644 --- a/configs/NEUTRONRCF722AIO/config.h +++ b/configs/NEUTRONRCF722AIO/config.h @@ -98,6 +98,5 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/NEUTRONRCF745/config.h b/configs/NEUTRONRCF745/config.h index bdb27037..05f1cba1 100644 --- a/configs/NEUTRONRCF745/config.h +++ b/configs/NEUTRONRCF745/config.h @@ -141,7 +141,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI4 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI2 #define GYRO_2_ALIGN CW180_DEG diff --git a/configs/NEUTRONRCF745VTX/config.h b/configs/NEUTRONRCF745VTX/config.h index 441b8d6e..422f78c4 100644 --- a/configs/NEUTRONRCF745VTX/config.h +++ b/configs/NEUTRONRCF745VTX/config.h @@ -147,7 +147,6 @@ #define PINIO4_BOX 42 #define MAX7456_SPI_INSTANCE SPI4 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW270_DEG diff --git a/configs/NEUTRONRCF7AIO/config.h b/configs/NEUTRONRCF7AIO/config.h index a6f8f496..715f7802 100644 --- a/configs/NEUTRONRCF7AIO/config.h +++ b/configs/NEUTRONRCF7AIO/config.h @@ -124,7 +124,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI4 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI2 #define GYRO_2_ALIGN CW180_DEG diff --git a/configs/NEUTRONRCG4AIO/config.h b/configs/NEUTRONRCG4AIO/config.h index f53c3ed7..cc0dacff 100644 --- a/configs/NEUTRONRCG4AIO/config.h +++ b/configs/NEUTRONRCG4AIO/config.h @@ -99,7 +99,6 @@ //TODO #define LED_INVERSION 1 #define FLASH_SPI_INSTANCE SPI3 #define DEFAULT_PID_PROCESS_DENOM 2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/NEUTRONRCH743AIO/config.h b/configs/NEUTRONRCH743AIO/config.h index 75916cd2..7ee4a840 100644 --- a/configs/NEUTRONRCH743AIO/config.h +++ b/configs/NEUTRONRCH743AIO/config.h @@ -138,7 +138,6 @@ #define USE_SDCARD_SDIO #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/NEUTRONRCH7BT/config.h b/configs/NEUTRONRCH7BT/config.h index 992de75a..2af48ec0 100644 --- a/configs/NEUTRONRCH7BT/config.h +++ b/configs/NEUTRONRCH7BT/config.h @@ -148,9 +148,7 @@ #define PINIO2_BOX 40 #define PINIO3_BOX 41 #define PINIO4_BOX 42 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 -#define USE_SPI_GYRO #define GYRO_2_SPI_INSTANCE SPI4 diff --git a/configs/NIDICI_F4/config.h b/configs/NIDICI_F4/config.h index 8a52c76d..4617c1a4 100644 --- a/configs/NIDICI_F4/config.h +++ b/configs/NIDICI_F4/config.h @@ -102,6 +102,5 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP diff --git a/configs/NOX/config.h b/configs/NOX/config.h index c7ddcc41..187d2c1f 100644 --- a/configs/NOX/config.h +++ b/configs/NOX/config.h @@ -89,5 +89,4 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI2 diff --git a/configs/OMNIBUSF4/config.h b/configs/OMNIBUSF4/config.h index ec9b7604..2afda0e5 100644 --- a/configs/OMNIBUSF4/config.h +++ b/configs/OMNIBUSF4/config.h @@ -112,7 +112,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/OMNIBUSF4FW/config.h b/configs/OMNIBUSF4FW/config.h index cade4135..1a3d2332 100644 --- a/configs/OMNIBUSF4FW/config.h +++ b/configs/OMNIBUSF4FW/config.h @@ -107,7 +107,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/OMNIBUSF4NANO/config.h b/configs/OMNIBUSF4NANO/config.h index 4d3f510e..d3921ccf 100644 --- a/configs/OMNIBUSF4NANO/config.h +++ b/configs/OMNIBUSF4NANO/config.h @@ -31,7 +31,6 @@ #define USE_BARO #define USE_BARO_SPI_BMP280 #define USE_GYRO -#define USE_SPI_GYRO #define USE_GYRO_SPI_MPU6000 #define USE_FLASH #define USE_FLASH_W25Q128FV diff --git a/configs/OMNIBUSF4NANOV7/config.h b/configs/OMNIBUSF4NANOV7/config.h index 2ad47253..c5762d62 100644 --- a/configs/OMNIBUSF4NANOV7/config.h +++ b/configs/OMNIBUSF4NANOV7/config.h @@ -90,6 +90,5 @@ #define DEFAULT_PID_PROCESS_DENOM 1 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/OMNIBUSF4SD/config.h b/configs/OMNIBUSF4SD/config.h index 965d3304..115fe01a 100644 --- a/configs/OMNIBUSF4SD/config.h +++ b/configs/OMNIBUSF4SD/config.h @@ -122,7 +122,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/OMNIBUSF4V6/config.h b/configs/OMNIBUSF4V6/config.h index e4e0cfa4..6cfaa1eb 100644 --- a/configs/OMNIBUSF4V6/config.h +++ b/configs/OMNIBUSF4V6/config.h @@ -106,7 +106,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/OMNIBUSF7/config.h b/configs/OMNIBUSF7/config.h index 53f0f4ec..c0af291b 100644 --- a/configs/OMNIBUSF7/config.h +++ b/configs/OMNIBUSF7/config.h @@ -108,6 +108,5 @@ #define SDCARD_SPI_INSTANCE SPI4 #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/OMNIBUSF7NANOV7/config.h b/configs/OMNIBUSF7NANOV7/config.h index 32a04fc5..08d1a0ab 100644 --- a/configs/OMNIBUSF7NANOV7/config.h +++ b/configs/OMNIBUSF7NANOV7/config.h @@ -87,6 +87,5 @@ #define DEFAULT_PID_PROCESS_DENOM 1 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_2_SPI_INSTANCE SPI3 diff --git a/configs/OMNIBUSF7V2/config.h b/configs/OMNIBUSF7V2/config.h index 2d286f1f..a6312405 100644 --- a/configs/OMNIBUSF7V2/config.h +++ b/configs/OMNIBUSF7V2/config.h @@ -108,7 +108,6 @@ #define SDCARD_SPI_INSTANCE SPI4 #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW90_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/OMNINXT4/config.h b/configs/OMNINXT4/config.h index 23e67e27..71c348ec 100644 --- a/configs/OMNINXT4/config.h +++ b/configs/OMNINXT4/config.h @@ -118,7 +118,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW270_DEG diff --git a/configs/OMNINXT7/config.h b/configs/OMNINXT7/config.h index 9a63f4cf..cf18cc39 100644 --- a/configs/OMNINXT7/config.h +++ b/configs/OMNINXT7/config.h @@ -114,7 +114,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW270_DEG diff --git a/configs/PIRXF4/config.h b/configs/PIRXF4/config.h index d8300606..c76eab78 100644 --- a/configs/PIRXF4/config.h +++ b/configs/PIRXF4/config.h @@ -82,5 +82,4 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/PLUMF4/config.h b/configs/PLUMF4/config.h index be46f630..279cfc37 100644 --- a/configs/PLUMF4/config.h +++ b/configs/PLUMF4/config.h @@ -80,7 +80,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/PODIUMF4/config.h b/configs/PODIUMF4/config.h index 14358108..d001db2d 100644 --- a/configs/PODIUMF4/config.h +++ b/configs/PODIUMF4/config.h @@ -97,5 +97,4 @@ #define SYSTEM_HSE_MHZ 8 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/PODRACERAIO/config.h b/configs/PODRACERAIO/config.h index 95097ac7..d07ac077 100644 --- a/configs/PODRACERAIO/config.h +++ b/configs/PODRACERAIO/config.h @@ -74,7 +74,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/PYRODRONEF4/config.h b/configs/PYRODRONEF4/config.h index 9568e88f..4e155074 100644 --- a/configs/PYRODRONEF4/config.h +++ b/configs/PYRODRONEF4/config.h @@ -86,5 +86,4 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define PINIO1_BOX 40 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/PYRODRONEF4PDB/config.h b/configs/PYRODRONEF4PDB/config.h index 78ed4d10..d4dbb381 100644 --- a/configs/PYRODRONEF4PDB/config.h +++ b/configs/PYRODRONEF4PDB/config.h @@ -97,5 +97,4 @@ #define SYSTEM_HSE_MHZ 8 #define PINIO1_BOX 40 #define PINIO2_BOX 41 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/PYRODRONEF7/config.h b/configs/PYRODRONEF7/config.h index 63087e0d..a0a28649 100644 --- a/configs/PYRODRONEF7/config.h +++ b/configs/PYRODRONEF7/config.h @@ -107,7 +107,6 @@ #define DEFAULT_PID_PROCESS_DENOM 1 #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define PINIO1_BOX 40 diff --git a/configs/REVO/config.h b/configs/REVO/config.h index 0af2551f..20102ce3 100644 --- a/configs/REVO/config.h +++ b/configs/REVO/config.h @@ -98,7 +98,6 @@ #define SYSTEM_HSE_MHZ 8 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/REVOLT/config.h b/configs/REVOLT/config.h index 78e04d16..6f0bb23e 100644 --- a/configs/REVOLT/config.h +++ b/configs/REVOLT/config.h @@ -81,5 +81,4 @@ #define SYSTEM_HSE_MHZ 8 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/REVOLTOSD/config.h b/configs/REVOLTOSD/config.h index bd110253..085dc4ef 100644 --- a/configs/REVOLTOSD/config.h +++ b/configs/REVOLTOSD/config.h @@ -87,5 +87,4 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/REVONANO/config.h b/configs/REVONANO/config.h index ec5d98be..64c861cc 100644 --- a/configs/REVONANO/config.h +++ b/configs/REVONANO/config.h @@ -83,7 +83,6 @@ #define ADC1_DMA_OPT 1 #define SYSTEM_HSE_MHZ 8 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/RUSHF7AIO/config.h b/configs/RUSHF7AIO/config.h index bf7e56c0..4ad444d4 100644 --- a/configs/RUSHF7AIO/config.h +++ b/configs/RUSHF7AIO/config.h @@ -36,7 +36,6 @@ #define USE_BARO_BMP280 #define USE_GYRO -#define USE_SPI_GYRO #define USE_GYRO_SPI_MPU6000 #define USE_GYRO_SPI_ICM42688P diff --git a/configs/RUSRACE_F4/config.h b/configs/RUSRACE_F4/config.h index 76b022fa..6dad3344 100644 --- a/configs/RUSRACE_F4/config.h +++ b/configs/RUSRACE_F4/config.h @@ -98,7 +98,6 @@ #define PINIO3_BOX 0 #define PINIO4_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/RUSRACE_F7/config.h b/configs/RUSRACE_F7/config.h index b2a8b820..0612f891 100644 --- a/configs/RUSRACE_F7/config.h +++ b/configs/RUSRACE_F7/config.h @@ -97,7 +97,6 @@ #define PINIO3_BOX 0 #define PINIO4_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/SDMODELH7/config.h b/configs/SDMODELH7/config.h index 0db09683..1b552f11 100644 --- a/configs/SDMODELH7/config.h +++ b/configs/SDMODELH7/config.h @@ -124,5 +124,4 @@ #define PINIO2_CONFIG 129 #define PINIO1_BOX 0 #define PINIO2_BOX 40 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI4 diff --git a/configs/SIRMIXALOT/config.h b/configs/SIRMIXALOT/config.h index b804171d..a606c816 100644 --- a/configs/SIRMIXALOT/config.h +++ b/configs/SIRMIXALOT/config.h @@ -110,7 +110,6 @@ #define MAX7456_SPI_INSTANCE SPI3 //TODO #define LED_INVERSION 3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/SKYSTARSF405/config.h b/configs/SKYSTARSF405/config.h index c443f044..b689d037 100644 --- a/configs/SKYSTARSF405/config.h +++ b/configs/SKYSTARSF405/config.h @@ -113,7 +113,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/SKYSTARSF405AIO/config.h b/configs/SKYSTARSF405AIO/config.h index 4a12f800..39fda453 100644 --- a/configs/SKYSTARSF405AIO/config.h +++ b/configs/SKYSTARSF405AIO/config.h @@ -106,7 +106,6 @@ #define DEFAULT_CURRENT_METER_SCALE 558 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN_YAW 450 #define DEFAULT_ALIGN_BOARD_YAW 45 diff --git a/configs/SKYSTARSF411/config.h b/configs/SKYSTARSF411/config.h index b4db7ba2..544127ba 100644 --- a/configs/SKYSTARSF411/config.h +++ b/configs/SKYSTARSF411/config.h @@ -102,7 +102,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/SKYSTARSF435/config.h b/configs/SKYSTARSF435/config.h index 8a95a77d..fbf67979 100644 --- a/configs/SKYSTARSF435/config.h +++ b/configs/SKYSTARSF435/config.h @@ -100,7 +100,6 @@ #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/SKYSTARSF7HD/config.h b/configs/SKYSTARSF7HD/config.h index 1a663eca..e75ecfa9 100644 --- a/configs/SKYSTARSF7HD/config.h +++ b/configs/SKYSTARSF7HD/config.h @@ -106,6 +106,5 @@ #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define FLASH_SPI_INSTANCE SPI3 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG diff --git a/configs/SKYSTARSF7HDPRO/config.h b/configs/SKYSTARSF7HDPRO/config.h index 21d05c52..ea12d1fd 100644 --- a/configs/SKYSTARSF7HDPRO/config.h +++ b/configs/SKYSTARSF7HDPRO/config.h @@ -116,7 +116,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/SKYSTARSF7RS/config.h b/configs/SKYSTARSF7RS/config.h index 45266db3..ead2c9b0 100644 --- a/configs/SKYSTARSF7RS/config.h +++ b/configs/SKYSTARSF7RS/config.h @@ -31,7 +31,6 @@ #define USE_CAMERA_CONTROL #define USE_FLASH #define USE_GYRO -#define USE_SPI_GYRO #define USE_MAX7456 #define USE_ACC_SPI_MPU6000 diff --git a/configs/SKYSTARSH7HD/config.h b/configs/SKYSTARSH7HD/config.h index b99628b7..2a46046d 100644 --- a/configs/SKYSTARSH7HD/config.h +++ b/configs/SKYSTARSH7HD/config.h @@ -141,7 +141,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/SKYZONEF405/config.h b/configs/SKYZONEF405/config.h index 542453a3..2c549eb8 100644 --- a/configs/SKYZONEF405/config.h +++ b/configs/SKYZONEF405/config.h @@ -103,7 +103,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/SOLOGOODF722/config.h b/configs/SOLOGOODF722/config.h index 73ae020b..13e880e3 100644 --- a/configs/SOLOGOODF722/config.h +++ b/configs/SOLOGOODF722/config.h @@ -109,7 +109,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/SOULF4/config.h b/configs/SOULF4/config.h index ce51b07e..973118e2 100644 --- a/configs/SOULF4/config.h +++ b/configs/SOULF4/config.h @@ -103,7 +103,6 @@ #define SYSTEM_HSE_MHZ 8 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/SPARKY2/config.h b/configs/SPARKY2/config.h index f898e993..0033e8d4 100644 --- a/configs/SPARKY2/config.h +++ b/configs/SPARKY2/config.h @@ -93,7 +93,6 @@ #define SYSTEM_HSE_MHZ 8 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/SPCMAKERF411/config.h b/configs/SPCMAKERF411/config.h index 15a49b54..61e2527b 100644 --- a/configs/SPCMAKERF411/config.h +++ b/configs/SPCMAKERF411/config.h @@ -83,6 +83,5 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define BEEPER_INVERTED diff --git a/configs/SPEDIXF4/config.h b/configs/SPEDIXF4/config.h index 5df41b92..15658259 100644 --- a/configs/SPEDIXF4/config.h +++ b/configs/SPEDIXF4/config.h @@ -108,6 +108,5 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/SPEDIXF405/config.h b/configs/SPEDIXF405/config.h index 74f8fbdd..010a0ca1 100644 --- a/configs/SPEDIXF405/config.h +++ b/configs/SPEDIXF405/config.h @@ -112,5 +112,4 @@ #define MAX7456_SPI_INSTANCE SPI2 #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/SPEEDYBEEF4/config.h b/configs/SPEEDYBEEF4/config.h index 193ff5b4..bc4702d2 100644 --- a/configs/SPEEDYBEEF4/config.h +++ b/configs/SPEEDYBEEF4/config.h @@ -104,5 +104,4 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/SPEEDYBEEF405MINI/config.h b/configs/SPEEDYBEEF405MINI/config.h index f01eea00..a41ca3dc 100644 --- a/configs/SPEEDYBEEF405MINI/config.h +++ b/configs/SPEEDYBEEF405MINI/config.h @@ -107,7 +107,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/SPEEDYBEEF405V3/config.h b/configs/SPEEDYBEEF405V3/config.h index 37bea2a9..cc4e492b 100644 --- a/configs/SPEEDYBEEF405V3/config.h +++ b/configs/SPEEDYBEEF405V3/config.h @@ -111,7 +111,6 @@ #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define MSP_DISPLAYPORT_UART SERIAL_PORT_USART1 diff --git a/configs/SPEEDYBEEF405V4/config.h b/configs/SPEEDYBEEF405V4/config.h index c20dd051..f5a05d16 100644 --- a/configs/SPEEDYBEEF405V4/config.h +++ b/configs/SPEEDYBEEF405V4/config.h @@ -114,7 +114,6 @@ #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/SPEEDYBEEF7/config.h b/configs/SPEEDYBEEF7/config.h index 73d67e82..7235a98a 100644 --- a/configs/SPEEDYBEEF7/config.h +++ b/configs/SPEEDYBEEF7/config.h @@ -116,5 +116,4 @@ //TODO #define OSD_ALTITUDE_POS 2305 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/SPEEDYBEEF7MINI/config.h b/configs/SPEEDYBEEF7MINI/config.h index e7531297..80271889 100644 --- a/configs/SPEEDYBEEF7MINI/config.h +++ b/configs/SPEEDYBEEF7MINI/config.h @@ -111,5 +111,4 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/SPEEDYBEEF7MINIV2/config.h b/configs/SPEEDYBEEF7MINIV2/config.h index 287265b4..e333485d 100644 --- a/configs/SPEEDYBEEF7MINIV2/config.h +++ b/configs/SPEEDYBEEF7MINIV2/config.h @@ -110,7 +110,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/SPEEDYBEEF7V2/config.h b/configs/SPEEDYBEEF7V2/config.h index baa89039..4b523d26 100644 --- a/configs/SPEEDYBEEF7V2/config.h +++ b/configs/SPEEDYBEEF7V2/config.h @@ -104,5 +104,4 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/SPEEDYBEEF7V3/config.h b/configs/SPEEDYBEEF7V3/config.h index e0063f67..4c655115 100644 --- a/configs/SPEEDYBEEF7V3/config.h +++ b/configs/SPEEDYBEEF7V3/config.h @@ -114,7 +114,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/SPEEDYBEE_F745_AIO/config.h b/configs/SPEEDYBEE_F745_AIO/config.h index 51503378..bcc2019b 100644 --- a/configs/SPEEDYBEE_F745_AIO/config.h +++ b/configs/SPEEDYBEE_F745_AIO/config.h @@ -99,7 +99,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/SPRACINGF4EVO/config.h b/configs/SPRACINGF4EVO/config.h index 91dcc538..410eff2b 100644 --- a/configs/SPRACINGF4EVO/config.h +++ b/configs/SPRACINGF4EVO/config.h @@ -106,7 +106,6 @@ #define ADC3_DMA_OPT 1 #define MAG_I2C_INSTANCE (I2CDEV_1) -#define USE_ADC #define ADC_INSTANCE ADC3 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC @@ -117,5 +116,4 @@ #define SYSTEM_HSE_MHZ 8 //TODO #define VTX_SPI_BUS 3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/SPRACINGF4NEO/config.h b/configs/SPRACINGF4NEO/config.h index 5d3f7c29..1d1f6410 100644 --- a/configs/SPRACINGF4NEO/config.h +++ b/configs/SPRACINGF4NEO/config.h @@ -121,5 +121,4 @@ //TODO #define VTX_SPI_BUS 3 #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/SPRACINGF7DUAL/config.h b/configs/SPRACINGF7DUAL/config.h index e509e908..1158444b 100644 --- a/configs/SPRACINGF7DUAL/config.h +++ b/configs/SPRACINGF7DUAL/config.h @@ -113,7 +113,6 @@ #define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH #define MAG_I2C_INSTANCE (I2CDEV_1) -#define USE_ADC #define ADC_INSTANCE ADC3 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD #define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON @@ -124,7 +123,6 @@ #define USE_SDCARD_SPI #define SDCARD_SPI_INSTANCE SPI3 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW270_DEG diff --git a/configs/STACKX/config.h b/configs/STACKX/config.h index cbf7564f..4be703ff 100644 --- a/configs/STACKX/config.h +++ b/configs/STACKX/config.h @@ -95,7 +95,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/STELLARF7/config.h b/configs/STELLARF7/config.h index e89bfad1..54735912 100644 --- a/configs/STELLARF7/config.h +++ b/configs/STELLARF7/config.h @@ -110,7 +110,6 @@ //set osd_displayport_device = MAX7456 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/STELLARF7V2/config.h b/configs/STELLARF7V2/config.h index db8ac902..f9a859dd 100644 --- a/configs/STELLARF7V2/config.h +++ b/configs/STELLARF7V2/config.h @@ -116,7 +116,6 @@ //TODO #define OSD_DISPLAYPORT_DEVICE MAX7456 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/STM32F411DISCOVERY/config.h b/configs/STM32F411DISCOVERY/config.h index 037f79b3..8d21d6da 100644 --- a/configs/STM32F411DISCOVERY/config.h +++ b/configs/STM32F411DISCOVERY/config.h @@ -79,7 +79,6 @@ #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define BEEPER_PWM_HZ 2000 #define SYSTEM_HSE_MHZ 8 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/STM32F4DISCOVERY/config.h b/configs/STM32F4DISCOVERY/config.h index 53db5612..5a052d80 100644 --- a/configs/STM32F4DISCOVERY/config.h +++ b/configs/STM32F4DISCOVERY/config.h @@ -86,7 +86,6 @@ #define SDCARD_SPI_INSTANCE SPI2 #define SYSTEM_HSE_MHZ 8 //TODO #define LED_INVERSION 3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/SUB250F411/config.h b/configs/SUB250F411/config.h index 87f53632..0f94f70e 100644 --- a/configs/SUB250F411/config.h +++ b/configs/SUB250F411/config.h @@ -98,7 +98,6 @@ #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/SUB250REDFOXF722AIO/config.h b/configs/SUB250REDFOXF722AIO/config.h index b0671593..a3675ac4 100644 --- a/configs/SUB250REDFOXF722AIO/config.h +++ b/configs/SUB250REDFOXF722AIO/config.h @@ -115,7 +115,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/SYNERGYF4/config.h b/configs/SYNERGYF4/config.h index 0ee935e2..b5c1cd7c 100644 --- a/configs/SYNERGYF4/config.h +++ b/configs/SYNERGYF4/config.h @@ -107,7 +107,6 @@ #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW0_DEG_FLIP #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/TAKERF411/config.h b/configs/TAKERF411/config.h index 89677b12..7289278f 100644 --- a/configs/TAKERF411/config.h +++ b/configs/TAKERF411/config.h @@ -98,7 +98,6 @@ #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/TAKERF722SE/config.h b/configs/TAKERF722SE/config.h index 28b30b03..635b80bc 100644 --- a/configs/TAKERF722SE/config.h +++ b/configs/TAKERF722SE/config.h @@ -116,5 +116,4 @@ #define PINIO1_BOX 0 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/TAKERG4AIO/config.h b/configs/TAKERG4AIO/config.h index e5584ec5..b63bfe7d 100644 --- a/configs/TAKERG4AIO/config.h +++ b/configs/TAKERG4AIO/config.h @@ -97,7 +97,6 @@ #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_CURRENT_METER_SCALE 120 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define DEFAULT_ALIGN_BOARD_YAW 45 diff --git a/configs/TALONF4V2/config.h b/configs/TALONF4V2/config.h index ef02356b..25930b8d 100644 --- a/configs/TALONF4V2/config.h +++ b/configs/TALONF4V2/config.h @@ -105,7 +105,6 @@ //TODO #define MAX7456_PREINIT_OPU OFF //TODO #define LED_INVERSION 0 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN_ROLL 0 #define GYRO_1_ALIGN_PITCH 0 diff --git a/configs/TALONF7DJIHD/config.h b/configs/TALONF7DJIHD/config.h index 239900e3..a4f220fd 100644 --- a/configs/TALONF7DJIHD/config.h +++ b/configs/TALONF7DJIHD/config.h @@ -114,6 +114,5 @@ #define MAX7456_SPI_INSTANCE SPI3 #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 //TODO #define MCO2_ON_PC9 ON diff --git a/configs/TALONF7FUSION/config.h b/configs/TALONF7FUSION/config.h index c0d26570..a63fa18d 100644 --- a/configs/TALONF7FUSION/config.h +++ b/configs/TALONF7FUSION/config.h @@ -104,7 +104,6 @@ #define DEFAULT_PID_PROCESS_DENOM 1 #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG diff --git a/configs/TALONF7V2/config.h b/configs/TALONF7V2/config.h index 872ba41c..05d15df9 100644 --- a/configs/TALONF7V2/config.h +++ b/configs/TALONF7V2/config.h @@ -108,5 +108,4 @@ //TODO #define OSD_WARNINGS_POS 14378 #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/TCMMF411/config.h b/configs/TCMMF411/config.h index adb234bd..c24b3fe0 100644 --- a/configs/TCMMF411/config.h +++ b/configs/TCMMF411/config.h @@ -88,7 +88,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/TCMMF7/config.h b/configs/TCMMF7/config.h index 9911ea2d..7e689c7e 100644 --- a/configs/TCMMF7/config.h +++ b/configs/TCMMF7/config.h @@ -117,7 +117,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define PINIO1_BOX 40 #define PINIO2_BOX 41 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/TMOTORF4/config.h b/configs/TMOTORF4/config.h index b1fa6fcb..b9557e88 100644 --- a/configs/TMOTORF4/config.h +++ b/configs/TMOTORF4/config.h @@ -107,6 +107,5 @@ #define MAX7456_SPI_INSTANCE SPI2 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/TMOTORF411/config.h b/configs/TMOTORF411/config.h index 109aedb4..76052eba 100644 --- a/configs/TMOTORF411/config.h +++ b/configs/TMOTORF411/config.h @@ -87,7 +87,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/TMOTORF4SX1280/config.h b/configs/TMOTORF4SX1280/config.h index 482e07b3..c4537a03 100644 --- a/configs/TMOTORF4SX1280/config.h +++ b/configs/TMOTORF4SX1280/config.h @@ -100,7 +100,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/TMOTORF7/config.h b/configs/TMOTORF7/config.h index f3746431..1d6cfa9b 100644 --- a/configs/TMOTORF7/config.h +++ b/configs/TMOTORF7/config.h @@ -111,6 +111,5 @@ //TODO #define OSD_GPS_SATS_SHOW_HDOP ON #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define PINIO1_BOX 40 diff --git a/configs/TMOTORF722SE/config.h b/configs/TMOTORF722SE/config.h index 06608269..1d42f6c9 100644 --- a/configs/TMOTORF722SE/config.h +++ b/configs/TMOTORF722SE/config.h @@ -116,6 +116,5 @@ #define MAX7456_SPI_INSTANCE SPI2 #define PINIO1_BOX 40 #define PINIO2_BOX 41 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW0_DEG_FLIP diff --git a/configs/TMOTORF7V2/config.h b/configs/TMOTORF7V2/config.h index e21cc17f..46e9e9c4 100644 --- a/configs/TMOTORF7V2/config.h +++ b/configs/TMOTORF7V2/config.h @@ -115,5 +115,4 @@ #define PINIO1_BOX 0 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/TMOTORF7_AIO/config.h b/configs/TMOTORF7_AIO/config.h index 7f27cd83..98d2e932 100644 --- a/configs/TMOTORF7_AIO/config.h +++ b/configs/TMOTORF7_AIO/config.h @@ -103,7 +103,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define DEFAULT_ALIGN_BOARD_YAW -45 #define PINIO1_BOX 40 diff --git a/configs/TMOTORH743/config.h b/configs/TMOTORH743/config.h index e18e15c0..1c2d3e13 100644 --- a/configs/TMOTORH743/config.h +++ b/configs/TMOTORH743/config.h @@ -139,7 +139,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG_FLIP #define GYRO_2_SPI_INSTANCE SPI4 diff --git a/configs/TMOTORVELOXF7V2/config.h b/configs/TMOTORVELOXF7V2/config.h index cbf0af1e..412fc804 100644 --- a/configs/TMOTORVELOXF7V2/config.h +++ b/configs/TMOTORVELOXF7V2/config.h @@ -102,7 +102,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/TMPACERF7/config.h b/configs/TMPACERF7/config.h index 9ce48a51..773658ef 100644 --- a/configs/TMPACERF7/config.h +++ b/configs/TMPACERF7/config.h @@ -92,7 +92,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/TMPACERF7MINI/config.h b/configs/TMPACERF7MINI/config.h index 6ab86e1b..90185aef 100644 --- a/configs/TMPACERF7MINI/config.h +++ b/configs/TMPACERF7MINI/config.h @@ -87,5 +87,4 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/TMVELOXF411/config.h b/configs/TMVELOXF411/config.h index eaa9c84e..154a0d7e 100644 --- a/configs/TMVELOXF411/config.h +++ b/configs/TMVELOXF411/config.h @@ -86,7 +86,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/TMVELOXF7/config.h b/configs/TMVELOXF7/config.h index a5dace38..0ecc6aa3 100644 --- a/configs/TMVELOXF7/config.h +++ b/configs/TMVELOXF7/config.h @@ -109,7 +109,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/TRANSTECF405HD/config.h b/configs/TRANSTECF405HD/config.h index 0b8070f1..f9344378 100644 --- a/configs/TRANSTECF405HD/config.h +++ b/configs/TRANSTECF405HD/config.h @@ -80,6 +80,5 @@ //TODO #define YAW_MOTORS_REVERSED ON //TODO #define OSD_CURRENT_POS 2486 #define SYSTEM_HSE_MHZ 8 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define MAX7456_SPI_INSTANCE SPI0 diff --git a/configs/TRANSTECF411/config.h b/configs/TRANSTECF411/config.h index 9c03dc19..a46bc6b9 100644 --- a/configs/TRANSTECF411/config.h +++ b/configs/TRANSTECF411/config.h @@ -78,7 +78,6 @@ #define DEFAULT_PID_PROCESS_DENOM 2 #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/TRANSTECF411AIO/config.h b/configs/TRANSTECF411AIO/config.h index 76f2de50..963abcdf 100644 --- a/configs/TRANSTECF411AIO/config.h +++ b/configs/TRANSTECF411AIO/config.h @@ -90,5 +90,4 @@ //TODO #define OSD_CRAFT_NAME_POS 2112 #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/TRANSTECF411HD/config.h b/configs/TRANSTECF411HD/config.h index 1954a54c..36c89316 100644 --- a/configs/TRANSTECF411HD/config.h +++ b/configs/TRANSTECF411HD/config.h @@ -78,7 +78,6 @@ //TODO #define SMALL_ANGLE 90 #define DEFAULT_PID_PROCESS_DENOM 1 #define SYSTEM_HSE_MHZ 8 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/TUNERCF405/config.h b/configs/TUNERCF405/config.h index 18ff7378..71b4cb01 100644 --- a/configs/TUNERCF405/config.h +++ b/configs/TUNERCF405/config.h @@ -98,7 +98,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/TUNERCF411/config.h b/configs/TUNERCF411/config.h index 51a21850..cf9b2032 100644 --- a/configs/TUNERCF411/config.h +++ b/configs/TUNERCF411/config.h @@ -82,7 +82,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/UAVPNG030MINI/config.h b/configs/UAVPNG030MINI/config.h index cb0e76a8..4146ec37 100644 --- a/configs/UAVPNG030MINI/config.h +++ b/configs/UAVPNG030MINI/config.h @@ -81,7 +81,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/VEKTORF722/config.h b/configs/VEKTORF722/config.h index 4ad0ab38..33281180 100644 --- a/configs/VEKTORF722/config.h +++ b/configs/VEKTORF722/config.h @@ -101,7 +101,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define PINIO1_BOX 40 diff --git a/configs/VGOODF722DUAL/config.h b/configs/VGOODF722DUAL/config.h index 4d9657c3..43c85195 100644 --- a/configs/VGOODF722DUAL/config.h +++ b/configs/VGOODF722DUAL/config.h @@ -109,7 +109,6 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/VGOODRCF4/config.h b/configs/VGOODRCF4/config.h index 5f839ac5..e2a3e896 100644 --- a/configs/VGOODRCF4/config.h +++ b/configs/VGOODRCF4/config.h @@ -110,7 +110,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI1 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/VGOODRCF405_DJI/config.h b/configs/VGOODRCF405_DJI/config.h index 96e1da23..e2743d5b 100644 --- a/configs/VGOODRCF405_DJI/config.h +++ b/configs/VGOODRCF405_DJI/config.h @@ -96,5 +96,4 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/VGOODRCF411_DJI/config.h b/configs/VGOODRCF411_DJI/config.h index 906dc6c0..62f77623 100644 --- a/configs/VGOODRCF411_DJI/config.h +++ b/configs/VGOODRCF411_DJI/config.h @@ -72,5 +72,4 @@ #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/VGOODRCF722_DJI/config.h b/configs/VGOODRCF722_DJI/config.h index 1b74a9e4..35b34a1e 100644 --- a/configs/VGOODRCF722_DJI/config.h +++ b/configs/VGOODRCF722_DJI/config.h @@ -89,7 +89,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/VIVAF4AIO/config.h b/configs/VIVAF4AIO/config.h index 35a8f010..e100f8b0 100644 --- a/configs/VIVAF4AIO/config.h +++ b/configs/VIVAF4AIO/config.h @@ -101,5 +101,4 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_1) #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/VRRACE/config.h b/configs/VRRACE/config.h index 871f8d67..d0ae5bb9 100644 --- a/configs/VRRACE/config.h +++ b/configs/VRRACE/config.h @@ -90,7 +90,6 @@ #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/WIZZF7HD/config.h b/configs/WIZZF7HD/config.h index f7641325..ad5a8c94 100644 --- a/configs/WIZZF7HD/config.h +++ b/configs/WIZZF7HD/config.h @@ -102,7 +102,6 @@ #define USE_SDCARD_SPI #define SDCARD_SPI_INSTANCE SPI2 #define MAX7456_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH //TODO #define MCO2_ON_PC9 ON diff --git a/configs/WORMFC/config.h b/configs/WORMFC/config.h index 4427277d..deb35074 100644 --- a/configs/WORMFC/config.h +++ b/configs/WORMFC/config.h @@ -90,7 +90,6 @@ #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 diff --git a/configs/XILOF4/config.h b/configs/XILOF4/config.h index 707c37da..7e6085f5 100644 --- a/configs/XILOF4/config.h +++ b/configs/XILOF4/config.h @@ -98,7 +98,6 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 40 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/XRACERF4/config.h b/configs/XRACERF4/config.h index c6f00dcf..5412ed0c 100644 --- a/configs/XRACERF4/config.h +++ b/configs/XRACERF4/config.h @@ -104,7 +104,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define DASHBOARD_I2C_INSTANCE (I2CDEV_2) #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/YUPIF4/config.h b/configs/YUPIF4/config.h index 4d1723d5..7e072a92 100644 --- a/configs/YUPIF4/config.h +++ b/configs/YUPIF4/config.h @@ -99,7 +99,6 @@ #define SDCARD_SPI_INSTANCE SPI3 #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/YUPIF7/config.h b/configs/YUPIF7/config.h index 089687ce..a6834cd4 100644 --- a/configs/YUPIF7/config.h +++ b/configs/YUPIF7/config.h @@ -99,7 +99,6 @@ #define BEEPER_PWM_HZ 3150 #define MAX7456_SPI_INSTANCE SPI1 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/ZEEZF7V2/config.h b/configs/ZEEZF7V2/config.h index f061ec43..3066d005 100644 --- a/configs/ZEEZF7V2/config.h +++ b/configs/ZEEZF7V2/config.h @@ -106,5 +106,4 @@ //TODO #define OSD_CORE_TEMP_ALARM 85 #define MAX7456_SPI_INSTANCE SPI3 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 diff --git a/configs/ZEEZF7V3/config.h b/configs/ZEEZF7V3/config.h index d09d0623..9767c94c 100644 --- a/configs/ZEEZF7V3/config.h +++ b/configs/ZEEZF7V3/config.h @@ -112,5 +112,4 @@ #define MAX7456_SPI_INSTANCE SPI1 //TODO #define LED_INVERSION 2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 diff --git a/configs/ZEEZWHOOP/config.h b/configs/ZEEZWHOOP/config.h index 6d6f311b..f9c868dd 100644 --- a/configs/ZEEZWHOOP/config.h +++ b/configs/ZEEZWHOOP/config.h @@ -73,7 +73,6 @@ #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI1 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW90_DEG #define GYRO_1_ALIGN_YAW 900 diff --git a/configs/ZEUSF4EVO/config.h b/configs/ZEUSF4EVO/config.h index 0f4b4b0d..6052d342 100644 --- a/configs/ZEUSF4EVO/config.h +++ b/configs/ZEUSF4EVO/config.h @@ -94,7 +94,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/ZEUSF4FR/config.h b/configs/ZEUSF4FR/config.h index dc4dd0cf..7f38aaf6 100644 --- a/configs/ZEUSF4FR/config.h +++ b/configs/ZEUSF4FR/config.h @@ -101,7 +101,6 @@ #define SYSTEM_HSE_MHZ 8 #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI2 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/ZEUSF722_AIO/config.h b/configs/ZEUSF722_AIO/config.h index 557b5d56..1427b193 100644 --- a/configs/ZEUSF722_AIO/config.h +++ b/configs/ZEUSF722_AIO/config.h @@ -115,7 +115,6 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG #define GYRO_1_ALIGN_YAW 1800