From 377327ae31aac985854bfed56f3cbcc4ba55d38e Mon Sep 17 00:00:00 2001 From: Petr Ledvina Date: Thu, 19 Dec 2024 20:02:03 +0100 Subject: [PATCH] GYRO_x_ALIGN_YAW use strict; use warnings; my ($gyro_id, $angle); while (<>) { if (/^#define GYRO_([12])_ALIGN CW(90|180|270)_DEG$/) { $gyro_id = $1; $angle = $2; print; # Print the first line next; } if (defined($gyro_id) && /^#define GYRO_\Q$gyro_id\E_ALIGN_YAW \Q$angle\E0$/) { undef $gyro_id; # Skip the second line if it matches next; } undef $gyro_id; # Reset if no match print; } --- configs/AIRBOTF4/config.h | 1 - configs/AIRBOTF4SD/config.h | 2 -- configs/AIRBOTF4V2/config.h | 1 - configs/AIRBOTF7/config.h | 1 - configs/AIRBOTF7HDV/config.h | 1 - configs/ALIENFLIGHTF4/config.h | 1 - configs/ALIENFLIGHTNGF7/config.h | 1 - configs/ALIENFLIGHTNGF7_DUAL/config.h | 2 -- configs/ALIENFLIGHTNGF7_ELRS/config.h | 1 - configs/ALIENFLIGHTNGF7_RX/config.h | 1 - configs/ANYFCF7/config.h | 1 - configs/ANYFCM7/config.h | 1 - configs/AOCODARCF411_AIO/config.h | 1 - configs/AOCODARCF7DUAL/config.h | 2 -- configs/AOCODARCH7DUAL/config.h | 2 -- configs/APEXF7/config.h | 1 - configs/APEXF72023/config.h | 2 -- configs/ARESF7/config.h | 1 - configs/ATOMRCF405/config.h | 1 - configs/ATOMRCF411/config.h | 1 - configs/ATOMRCF722/config.h | 1 - configs/BEASTFPVF722/config.h | 1 - configs/BETAFLIGHTF4/config.h | 1 - configs/BETAFPVF405/config.h | 1 - configs/BETAFPVF405_ELRS/config.h | 1 - configs/BETAFPVF411/config.h | 1 - configs/BETAFPVF411RX/config.h | 1 - configs/BETAFPVF435/config.h | 1 - configs/BETAFPVF4SX1280/config.h | 1 - configs/BETAFPVF722/config.h | 2 -- configs/BETAFPVG473/config.h | 1 - configs/BETAFPVH743/config.h | 2 -- configs/BLADE_F7/config.h | 1 - configs/BLADE_F7_HD/config.h | 1 - configs/CADDXF4/config.h | 1 - configs/CADDXF4_AIO_ELRS/config.h | 1 - configs/CCRCF722D/config.h | 2 -- configs/CLRACINGF7/config.h | 1 - configs/CRAZYBEEF405/config.h | 1 - configs/CRAZYBEEF4DXS/config.h | 1 - configs/CYCLONEF405_PRO/config.h | 1 - configs/CYCLONEF722_PRO/config.h | 1 - configs/DAKEFPVF405/config.h | 1 - configs/DAKEFPVF411/config.h | 1 - configs/DAKEFPVF722/config.h | 1 - configs/DAKEFPVF722X8/config.h | 1 - configs/DALRCF405/config.h | 1 - configs/DALRCF722DUAL/config.h | 1 - configs/DARWINF4SX1280HD/config.h | 1 - configs/DARWINF722HD/config.h | 1 - configs/DARWINF722HDV2/config.h | 1 - configs/DREAMFLYF405/config.h | 1 - configs/DREAMFLYF722/config.h | 1 - configs/DYSF44530D/config.h | 1 - configs/EACHINEF722_AIO/config.h | 1 - configs/EAGLEF405/config.h | 1 - configs/EAGLEF722/config.h | 1 - configs/ELLE0/config.h | 1 - configs/EXUAVF4PRO/config.h | 1 - configs/F4BY/config.h | 1 - configs/FF_FORTINIF4/config.h | 1 - configs/FF_FORTINIF4_REV03/config.h | 1 - configs/FF_PIKOF4/config.h | 1 - configs/FF_PIKOF4OSD/config.h | 1 - configs/FISHDRONEF4/config.h | 1 - configs/FLOWBOX/config.h | 1 - configs/FLOWBOXV2/config.h | 1 - configs/FLYCOLORF7/config.h | 1 - configs/FLYCOLORF7V2/config.h | 1 - configs/FLYFISHRCF405/config.h | 1 - configs/FLYSPARKF4/config.h | 1 - configs/FLYWOOF411HEX/config.h | 1 - configs/FLYWOOF411V2/config.h | 1 - configs/FLYWOOF722PRO/config.h | 1 - configs/FLYWOOF722PROV2/config.h | 2 -- configs/FOXEERF405/config.h | 1 - configs/FOXEERF745V4_AIO/config.h | 1 - configs/FOXEERF745_AIO/config.h | 1 - configs/FPVCYCLEF401/config.h | 1 - configs/FPVM_BETAFLIGHTF7/config.h | 2 -- configs/FRSKYF4/config.h | 1 - configs/FURYF4/config.h | 1 - configs/GEELANGF411/config.h | 1 - configs/GEMEF411/config.h | 1 - configs/GEMEF722/config.h | 1 - configs/GEPRCF722/config.h | 1 - configs/GEPRC_F722_AIO/config.h | 1 - configs/GEP_F405_VTX_V3/config.h | 1 - configs/HAKRCF405/config.h | 1 - configs/HAKRCF405D/config.h | 1 - configs/HAKRCF405V2/config.h | 1 - configs/HAKRCF411/config.h | 1 - configs/HAKRCF722/config.h | 1 - configs/HAKRCF722V2/config.h | 2 -- configs/HELSEL_STRIKERF7/config.h | 1 - configs/HGLRCF411ELRS/config.h | 1 - configs/HGLRCF411SX1280/config.h | 1 - configs/HGLRCF411SX1280V2/config.h | 1 - configs/HGLRCF722AIO_X6/config.h | 1 - configs/HOBBYWING_XROTORF4G3/config.h | 1 - configs/HOBBYWING_XROTORF7CONV/config.h | 2 -- configs/IFLIGHT_BLITZ_F411RX/config.h | 1 - configs/IFLIGHT_BLITZ_F7_PRO/config.h | 1 - configs/IFLIGHT_F4SX1280/config.h | 1 - configs/IFLIGHT_F745_AIO_V2/config.h | 1 - configs/IFLIGHT_H7_TWING/config.h | 1 - configs/JBF7/config.h | 1 - configs/JBF7_DJI/config.h | 1 - configs/JHEF405PRO/config.h | 1 - configs/JHEF411/config.h | 1 - configs/JHEH743_HD/config.h | 1 - configs/KIWIF4/config.h | 1 - configs/KIWIF4V2/config.h | 1 - configs/KROOZX/config.h | 1 - configs/LUXF4OSD/config.h | 1 - configs/LUXF7HDV/config.h | 1 - configs/MAMBAF405US/config.h | 1 - configs/MAMBAF405_2022A/config.h | 1 - configs/MAMBAF405_2022B/config.h | 1 - configs/MAMBAF722_2022A/config.h | 1 - configs/MAMBAF722_2022B/config.h | 1 - configs/MAMBAF722_X8/config.h | 1 - configs/MAMBAH743/config.h | 2 -- configs/MAMBAH743_2022B/config.h | 1 - configs/MATEKF405AIO/config.h | 1 - configs/MATEKF405MINI/config.h | 1 - configs/MATEKF722MINI/config.h | 1 - configs/MINI_H743_HD/config.h | 1 - configs/MLTEMPF4/config.h | 1 - configs/MLTYPHF4/config.h | 1 - configs/NAMIMNOF722/config.h | 1 - configs/NBD_CRICKETF7/config.h | 1 - configs/NBD_CRICKETF7V2/config.h | 1 - configs/NBD_GALAXYAIO255/config.h | 1 - configs/NBD_INFINITY200RS/config.h | 1 - configs/NBD_INFINITYAIO/config.h | 1 - configs/NBD_INFINITYAIO255/config.h | 1 - configs/NBD_INFINITYAIOV2PRO/config.h | 1 - configs/NBD_INFINITYF4/config.h | 1 - configs/NEUTRONRCF411AIO/config.h | 1 - configs/NEUTRONRCF745/config.h | 1 - configs/NEUTRONRCF745VTX/config.h | 1 - configs/NEUTRONRCF7AIO/config.h | 1 - configs/NEUTRONRCG4AIO/config.h | 1 - configs/NEUTRONRCH743AIO/config.h | 1 - configs/NEUTRONRCH7BT/config.h | 1 - configs/NUCLEOF722/config.h | 1 - configs/OMNINXT4/config.h | 1 - configs/OMNINXT7/config.h | 1 - configs/ORBITF435/config.h | 1 - configs/PLUMF4/config.h | 1 - configs/PODRACERAIO/config.h | 1 - configs/RADIOLINKF722/config.h | 1 - configs/REVO/config.h | 1 - configs/REVONANO/config.h | 1 - configs/RUSRACE_F4/config.h | 1 - configs/RUSRACE_F7/config.h | 1 - configs/SDMODELH7V2/config.h | 1 - configs/SIRMIXALOT/config.h | 1 - configs/SKYSTARSF411/config.h | 1 - configs/SKYSTARSH7HD/config.h | 1 - configs/SKYZONEF405/config.h | 1 - configs/SOLOGOODF405/config.h | 1 - configs/SOLOGOODF722/config.h | 1 - configs/SOULF4/config.h | 1 - configs/SPARKY2/config.h | 1 - configs/SPEEDYBEEF405MINI/config.h | 1 - configs/SPEEDYBEEF405V4/config.h | 1 - configs/SPEEDYBEEF7MINIV2/config.h | 1 - configs/SPEEDYBEE_F745_AIO/config.h | 1 - configs/STACKX/config.h | 1 - configs/STM32F411DISCOVERY/config.h | 1 - configs/SUB250REDFOXF722AIO/config.h | 2 -- configs/TCMMF411/config.h | 1 - configs/TMH7/config.h | 1 - configs/TMOTORVELOXF7V2/config.h | 1 - configs/TMPACERF7/config.h | 1 - configs/TMVELOXF411/config.h | 1 - configs/TMVELOXF7/config.h | 1 - configs/TRANSTECF411/config.h | 1 - configs/TRANSTECF411HD/config.h | 1 - configs/TUNERCF405/config.h | 1 - configs/TUNERCF411/config.h | 1 - configs/UAVPNG030MINI/config.h | 1 - configs/VGOODF722DUAL/config.h | 1 - configs/VGOODRCF4/config.h | 1 - configs/VGOODRCF722_DJI/config.h | 1 - configs/VRRACE/config.h | 1 - configs/WARPF7/config.h | 1 - configs/XILOF4/config.h | 1 - configs/XRACERF4/config.h | 1 - configs/YUPIF4/config.h | 1 - configs/YUPIF7/config.h | 1 - configs/ZEEZWHOOP/config.h | 1 - configs/ZEUSF4EVO/config.h | 1 - configs/ZEUSF4FR/config.h | 1 - configs/ZEUSF722_AIO/config.h | 1 - 197 files changed, 211 deletions(-) diff --git a/configs/AIRBOTF4/config.h b/configs/AIRBOTF4/config.h index 7e162992..456c5d89 100644 --- a/configs/AIRBOTF4/config.h +++ b/configs/AIRBOTF4/config.h @@ -110,4 +110,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 61d38b9e..a68ec4ca 100644 --- a/configs/AIRBOTF4SD/config.h +++ b/configs/AIRBOTF4SD/config.h @@ -116,7 +116,5 @@ #define DASHBOARD_I2C_INSTANCE I2CDEV_2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 diff --git a/configs/AIRBOTF4V2/config.h b/configs/AIRBOTF4V2/config.h index 3cfec6d6..eae5f187 100644 --- a/configs/AIRBOTF4V2/config.h +++ b/configs/AIRBOTF4V2/config.h @@ -93,5 +93,4 @@ #define FLASH_SPI_INSTANCE SPI1 #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/AIRBOTF7/config.h b/configs/AIRBOTF7/config.h index 6adea4dd..25a44b69 100644 --- a/configs/AIRBOTF7/config.h +++ b/configs/AIRBOTF7/config.h @@ -93,5 +93,4 @@ #define FLASH_SPI_INSTANCE SPI1 #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/AIRBOTF7HDV/config.h b/configs/AIRBOTF7HDV/config.h index bf7f796c..3977dcb4 100644 --- a/configs/AIRBOTF7HDV/config.h +++ b/configs/AIRBOTF7HDV/config.h @@ -86,4 +86,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/ALIENFLIGHTF4/config.h b/configs/ALIENFLIGHTF4/config.h index 2fd2be7c..b5be76c9 100644 --- a/configs/ALIENFLIGHTF4/config.h +++ b/configs/ALIENFLIGHTF4/config.h @@ -120,5 +120,4 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 #define USE_I2C_PULLUP diff --git a/configs/ALIENFLIGHTNGF7/config.h b/configs/ALIENFLIGHTNGF7/config.h index 68a87bc3..ff4599bc 100644 --- a/configs/ALIENFLIGHTNGF7/config.h +++ b/configs/ALIENFLIGHTNGF7/config.h @@ -125,5 +125,4 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 #define USE_I2C_PULLUP diff --git a/configs/ALIENFLIGHTNGF7_DUAL/config.h b/configs/ALIENFLIGHTNGF7_DUAL/config.h index 02e72121..11148568 100644 --- a/configs/ALIENFLIGHTNGF7_DUAL/config.h +++ b/configs/ALIENFLIGHTNGF7_DUAL/config.h @@ -108,8 +108,6 @@ #define MAX7456_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 #define GYRO_2_SPI_INSTANCE SPI3 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 #define USE_I2C_PULLUP diff --git a/configs/ALIENFLIGHTNGF7_ELRS/config.h b/configs/ALIENFLIGHTNGF7_ELRS/config.h index 8212e543..58080351 100644 --- a/configs/ALIENFLIGHTNGF7_ELRS/config.h +++ b/configs/ALIENFLIGHTNGF7_ELRS/config.h @@ -123,5 +123,4 @@ #define MAX7456_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 //TODO #define EXPRESSLRS_DOMAIN ISM2400 diff --git a/configs/ALIENFLIGHTNGF7_RX/config.h b/configs/ALIENFLIGHTNGF7_RX/config.h index dacae26b..ab5b74ad 100644 --- a/configs/ALIENFLIGHTNGF7_RX/config.h +++ b/configs/ALIENFLIGHTNGF7_RX/config.h @@ -111,4 +111,3 @@ #define MAX7456_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/ANYFCF7/config.h b/configs/ANYFCF7/config.h index 51b1daa3..c49bb1dd 100644 --- a/configs/ANYFCF7/config.h +++ b/configs/ANYFCF7/config.h @@ -127,4 +127,3 @@ #define DASHBOARD_I2C_INSTANCE I2CDEV_2 #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 9d1e0552..bfdc9227 100644 --- a/configs/ANYFCM7/config.h +++ b/configs/ANYFCM7/config.h @@ -109,4 +109,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/AOCODARCF411_AIO/config.h b/configs/AOCODARCF411_AIO/config.h index de69b1f9..4d1e3034 100644 --- a/configs/AOCODARCF411_AIO/config.h +++ b/configs/AOCODARCF411_AIO/config.h @@ -98,6 +98,5 @@ #define MAX7456_SPI_INSTANCE SPI1 #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define SERIALRX_UART SERIAL_PORT_USART1 #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL diff --git a/configs/AOCODARCF7DUAL/config.h b/configs/AOCODARCF7DUAL/config.h index c5c78797..12c46f70 100644 --- a/configs/AOCODARCF7DUAL/config.h +++ b/configs/AOCODARCF7DUAL/config.h @@ -112,7 +112,5 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 #define GYRO_2_SPI_INSTANCE SPI2 #define GYRO_2_ALIGN CW180_DEG -#define GYRO_2_ALIGN_YAW 1800 diff --git a/configs/AOCODARCH7DUAL/config.h b/configs/AOCODARCH7DUAL/config.h index 94b1df7d..8218507d 100644 --- a/configs/AOCODARCH7DUAL/config.h +++ b/configs/AOCODARCH7DUAL/config.h @@ -141,7 +141,5 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO_2_SPI_INSTANCE SPI4 #define GYRO_2_ALIGN CW180_DEG -#define GYRO_2_ALIGN_YAW 1800 diff --git a/configs/APEXF7/config.h b/configs/APEXF7/config.h index 0fa3a2a3..ba158331 100644 --- a/configs/APEXF7/config.h +++ b/configs/APEXF7/config.h @@ -105,4 +105,3 @@ #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_2_SPI_INSTANCE SPI3 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 diff --git a/configs/APEXF72023/config.h b/configs/APEXF72023/config.h index 7463e414..afe30da0 100644 --- a/configs/APEXF72023/config.h +++ b/configs/APEXF72023/config.h @@ -107,6 +107,4 @@ #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_2_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO_2_ALIGN CW90_DEG -#define GYRO_2_ALIGN_YAW 900 diff --git a/configs/ARESF7/config.h b/configs/ARESF7/config.h index cbf3693e..87a6c6db 100644 --- a/configs/ARESF7/config.h +++ b/configs/ARESF7/config.h @@ -101,4 +101,3 @@ #define FLASH_SPI_INSTANCE SPI2 #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 a98d86a1..9174ae49 100644 --- a/configs/ATOMRCF405/config.h +++ b/configs/ATOMRCF405/config.h @@ -102,4 +102,3 @@ #define FLASH_SPI_INSTANCE SPI2 #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 8c9392da..79c80117 100644 --- a/configs/ATOMRCF411/config.h +++ b/configs/ATOMRCF411/config.h @@ -80,4 +80,3 @@ #define MAX7456_SPI_INSTANCE SPI2 #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 6f783397..9d15651a 100644 --- a/configs/ATOMRCF722/config.h +++ b/configs/ATOMRCF722/config.h @@ -100,4 +100,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/BEASTFPVF722/config.h b/configs/BEASTFPVF722/config.h index c76cfc18..338e35f3 100644 --- a/configs/BEASTFPVF722/config.h +++ b/configs/BEASTFPVF722/config.h @@ -114,4 +114,3 @@ #define PINIO1_CONFIG 129 #define PINIO1_BOX 40 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/BETAFLIGHTF4/config.h b/configs/BETAFLIGHTF4/config.h index d1eebb06..47e5cae6 100644 --- a/configs/BETAFLIGHTF4/config.h +++ b/configs/BETAFLIGHTF4/config.h @@ -103,4 +103,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 c1d86568..7a3c51b7 100644 --- a/configs/BETAFPVF405/config.h +++ b/configs/BETAFPVF405/config.h @@ -118,4 +118,3 @@ #define FLASH_SPI_INSTANCE SPI2 #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 bd290397..265dd918 100644 --- a/configs/BETAFPVF405_ELRS/config.h +++ b/configs/BETAFPVF405_ELRS/config.h @@ -111,7 +111,6 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define SERIALRX_UART SERIAL_PORT_USART3 diff --git a/configs/BETAFPVF411/config.h b/configs/BETAFPVF411/config.h index 6f4bda09..6d5b2134 100644 --- a/configs/BETAFPVF411/config.h +++ b/configs/BETAFPVF411/config.h @@ -96,7 +96,6 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 #define SERIALRX_UART SERIAL_PORT_USART1 #define MSP_DISPLAYPORT_UART SERIAL_PORT_USART2 diff --git a/configs/BETAFPVF411RX/config.h b/configs/BETAFPVF411RX/config.h index 1dd15d36..b0ea1880 100644 --- a/configs/BETAFPVF411RX/config.h +++ b/configs/BETAFPVF411RX/config.h @@ -99,4 +99,3 @@ #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #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 1cd843b9..9cf03590 100644 --- a/configs/BETAFPVF435/config.h +++ b/configs/BETAFPVF435/config.h @@ -107,7 +107,6 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 #define FLASH_SPI_INSTANCE SPI2 #define MAX7456_SPI_INSTANCE SPI3 #define BARO_SPI_INSTANCE SPI3 diff --git a/configs/BETAFPVF4SX1280/config.h b/configs/BETAFPVF4SX1280/config.h index 98dc64cb..3796960a 100644 --- a/configs/BETAFPVF4SX1280/config.h +++ b/configs/BETAFPVF4SX1280/config.h @@ -115,5 +115,4 @@ #define MAX7456_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 //TODO #define EXPRESSLRS_DOMAIN ISM2400 diff --git a/configs/BETAFPVF722/config.h b/configs/BETAFPVF722/config.h index b6df19ea..48cdd440 100644 --- a/configs/BETAFPVF722/config.h +++ b/configs/BETAFPVF722/config.h @@ -104,7 +104,5 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW180_DEG -#define GYRO_2_ALIGN_YAW 1800 diff --git a/configs/BETAFPVG473/config.h b/configs/BETAFPVG473/config.h index c1b5bd16..df27a5c5 100644 --- a/configs/BETAFPVG473/config.h +++ b/configs/BETAFPVG473/config.h @@ -106,4 +106,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/BETAFPVH743/config.h b/configs/BETAFPVH743/config.h index 369e6cbd..a07a185c 100644 --- a/configs/BETAFPVH743/config.h +++ b/configs/BETAFPVH743/config.h @@ -133,7 +133,5 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI4 #define GYRO_2_ALIGN CW180_DEG -#define GYRO_2_ALIGN_YAW 1800 diff --git a/configs/BLADE_F7/config.h b/configs/BLADE_F7/config.h index 67a3b8b4..f34da28a 100644 --- a/configs/BLADE_F7/config.h +++ b/configs/BLADE_F7/config.h @@ -107,4 +107,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/BLADE_F7_HD/config.h b/configs/BLADE_F7_HD/config.h index b2a39775..95cd49ad 100644 --- a/configs/BLADE_F7_HD/config.h +++ b/configs/BLADE_F7_HD/config.h @@ -103,4 +103,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/CADDXF4/config.h b/configs/CADDXF4/config.h index 1354346f..5de5eee0 100644 --- a/configs/CADDXF4/config.h +++ b/configs/CADDXF4/config.h @@ -119,4 +119,3 @@ #define PINIO2_BOX 41 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/CADDXF4_AIO_ELRS/config.h b/configs/CADDXF4_AIO_ELRS/config.h index 8e68650b..0816190f 100644 --- a/configs/CADDXF4_AIO_ELRS/config.h +++ b/configs/CADDXF4_AIO_ELRS/config.h @@ -111,4 +111,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/CCRCF722D/config.h b/configs/CCRCF722D/config.h index a4680371..a13bc2cb 100644 --- a/configs/CCRCF722D/config.h +++ b/configs/CCRCF722D/config.h @@ -113,7 +113,5 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 diff --git a/configs/CLRACINGF7/config.h b/configs/CLRACINGF7/config.h index 72a40b61..8a29e84d 100644 --- a/configs/CLRACINGF7/config.h +++ b/configs/CLRACINGF7/config.h @@ -123,7 +123,6 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG -#define GYRO_2_ALIGN_YAW 900 #define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH #define PINIO1_BOX 40 //TODO #define MCO2_ON_PC9 ON diff --git a/configs/CRAZYBEEF405/config.h b/configs/CRAZYBEEF405/config.h index a5038cb6..1d21817a 100644 --- a/configs/CRAZYBEEF405/config.h +++ b/configs/CRAZYBEEF405/config.h @@ -98,4 +98,3 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define MAX7456_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/CRAZYBEEF4DXS/config.h b/configs/CRAZYBEEF4DXS/config.h index 947a7c54..fdc4816c 100644 --- a/configs/CRAZYBEEF4DXS/config.h +++ b/configs/CRAZYBEEF4DXS/config.h @@ -94,4 +94,3 @@ #define MAX7456_SPI_INSTANCE SPI2 #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 7dab925e..cd71571b 100644 --- a/configs/CYCLONEF405_PRO/config.h +++ b/configs/CYCLONEF405_PRO/config.h @@ -115,4 +115,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 d4de7c18..5dcfd09c 100644 --- a/configs/CYCLONEF722_PRO/config.h +++ b/configs/CYCLONEF722_PRO/config.h @@ -114,4 +114,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 ea98b225..3dab6dc7 100644 --- a/configs/DAKEFPVF405/config.h +++ b/configs/DAKEFPVF405/config.h @@ -126,4 +126,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 22aa5040..533ad620 100644 --- a/configs/DAKEFPVF411/config.h +++ b/configs/DAKEFPVF411/config.h @@ -99,4 +99,3 @@ #define MAX7456_SPI_INSTANCE SPI2 #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 a1fa1d40..c8a19395 100644 --- a/configs/DAKEFPVF722/config.h +++ b/configs/DAKEFPVF722/config.h @@ -126,7 +126,6 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define SERIALRX_UART SERIAL_PORT_USART2 #define ESC_SENSOR_UART SERIAL_PORT_USART3 diff --git a/configs/DAKEFPVF722X8/config.h b/configs/DAKEFPVF722X8/config.h index 5a5cf1bb..7bd76e84 100644 --- a/configs/DAKEFPVF722X8/config.h +++ b/configs/DAKEFPVF722X8/config.h @@ -119,7 +119,6 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define DEFAULT_CURRENT_METER_SCALE 120 #define SERIALRX_UART SERIAL_PORT_UART5 diff --git a/configs/DALRCF405/config.h b/configs/DALRCF405/config.h index bd0f8682..1b5af056 100644 --- a/configs/DALRCF405/config.h +++ b/configs/DALRCF405/config.h @@ -111,4 +111,3 @@ #define FLASH_SPI_INSTANCE SPI2 #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 73895735..f914bb62 100644 --- a/configs/DALRCF722DUAL/config.h +++ b/configs/DALRCF722DUAL/config.h @@ -110,5 +110,4 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/DARWINF4SX1280HD/config.h b/configs/DARWINF4SX1280HD/config.h index 7492e1e2..9d7ca49d 100644 --- a/configs/DARWINF4SX1280HD/config.h +++ b/configs/DARWINF4SX1280HD/config.h @@ -118,5 +118,4 @@ #define MAX7456_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 //TODO #define EXPRESSLRS_DOMAIN ISM2400 diff --git a/configs/DARWINF722HD/config.h b/configs/DARWINF722HD/config.h index a278ccf6..30677443 100644 --- a/configs/DARWINF722HD/config.h +++ b/configs/DARWINF722HD/config.h @@ -122,4 +122,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/DARWINF722HDV2/config.h b/configs/DARWINF722HDV2/config.h index 086bd9e4..0ad91eb0 100644 --- a/configs/DARWINF722HDV2/config.h +++ b/configs/DARWINF722HDV2/config.h @@ -124,4 +124,3 @@ dma SPI_MOSI 3 0 # SPI_MOSI 3: DMA1 Stream 5 Channel 0 #define PINIO2_BOX 41 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/DREAMFLYF405/config.h b/configs/DREAMFLYF405/config.h index 68277144..49f0c695 100644 --- a/configs/DREAMFLYF405/config.h +++ b/configs/DREAMFLYF405/config.h @@ -127,4 +127,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/DREAMFLYF722/config.h b/configs/DREAMFLYF722/config.h index 2d02ff14..007b7fce 100644 --- a/configs/DREAMFLYF722/config.h +++ b/configs/DREAMFLYF722/config.h @@ -125,4 +125,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/DYSF44530D/config.h b/configs/DYSF44530D/config.h index aecf669c..6b8854e7 100644 --- a/configs/DYSF44530D/config.h +++ b/configs/DYSF44530D/config.h @@ -107,4 +107,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/EACHINEF722_AIO/config.h b/configs/EACHINEF722_AIO/config.h index dd7e5f76..3b69eb59 100644 --- a/configs/EACHINEF722_AIO/config.h +++ b/configs/EACHINEF722_AIO/config.h @@ -114,6 +114,5 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 #define PINIO1_BOX 40 #define PINIO2_BOX 41 diff --git a/configs/EAGLEF405/config.h b/configs/EAGLEF405/config.h index 20c9ad88..708637ad 100644 --- a/configs/EAGLEF405/config.h +++ b/configs/EAGLEF405/config.h @@ -109,4 +109,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/EAGLEF722/config.h b/configs/EAGLEF722/config.h index a48f39c1..0f01308b 100644 --- a/configs/EAGLEF722/config.h +++ b/configs/EAGLEF722/config.h @@ -105,4 +105,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/ELLE0/config.h b/configs/ELLE0/config.h index 39101a48..33316175 100644 --- a/configs/ELLE0/config.h +++ b/configs/ELLE0/config.h @@ -74,4 +74,3 @@ #define SYSTEM_HSE_MHZ 25 #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/EXUAVF4PRO/config.h b/configs/EXUAVF4PRO/config.h index 2c55d238..c757aaa7 100644 --- a/configs/EXUAVF4PRO/config.h +++ b/configs/EXUAVF4PRO/config.h @@ -111,5 +111,4 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/F4BY/config.h b/configs/F4BY/config.h index 048e24b7..41d4652c 100644 --- a/configs/F4BY/config.h +++ b/configs/F4BY/config.h @@ -119,4 +119,3 @@ #define DASHBOARD_I2C_INSTANCE I2CDEV_2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/FF_FORTINIF4/config.h b/configs/FF_FORTINIF4/config.h index 5ffb618e..b859bf4c 100644 --- a/configs/FF_FORTINIF4/config.h +++ b/configs/FF_FORTINIF4/config.h @@ -93,4 +93,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 fbc356f2..90865e22 100644 --- a/configs/FF_FORTINIF4_REV03/config.h +++ b/configs/FF_FORTINIF4_REV03/config.h @@ -95,4 +95,3 @@ #define DASHBOARD_I2C_INSTANCE (I2CDEV_3) #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 007bbc57..0ff0cb51 100644 --- a/configs/FF_PIKOF4/config.h +++ b/configs/FF_PIKOF4/config.h @@ -82,4 +82,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 59f5ee0c..b9ca1bfe 100644 --- a/configs/FF_PIKOF4OSD/config.h +++ b/configs/FF_PIKOF4OSD/config.h @@ -87,4 +87,3 @@ #define MAX7456_SPI_INSTANCE SPI1 #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FISHDRONEF4/config.h b/configs/FISHDRONEF4/config.h index d7287eb2..6b525695 100644 --- a/configs/FISHDRONEF4/config.h +++ b/configs/FISHDRONEF4/config.h @@ -95,4 +95,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/FLOWBOX/config.h b/configs/FLOWBOX/config.h index bb8823b9..96ed995c 100644 --- a/configs/FLOWBOX/config.h +++ b/configs/FLOWBOX/config.h @@ -68,4 +68,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FLOWBOXV2/config.h b/configs/FLOWBOXV2/config.h index 0693832c..47288446 100644 --- a/configs/FLOWBOXV2/config.h +++ b/configs/FLOWBOXV2/config.h @@ -71,4 +71,3 @@ #define SYSTEM_HSE_MHZ 8 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FLYCOLORF7/config.h b/configs/FLYCOLORF7/config.h index 3992fade..ce818d4b 100644 --- a/configs/FLYCOLORF7/config.h +++ b/configs/FLYCOLORF7/config.h @@ -120,4 +120,3 @@ #define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 diff --git a/configs/FLYCOLORF7V2/config.h b/configs/FLYCOLORF7V2/config.h index fbd48549..cfe6a6a8 100644 --- a/configs/FLYCOLORF7V2/config.h +++ b/configs/FLYCOLORF7V2/config.h @@ -121,4 +121,3 @@ #define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 diff --git a/configs/FLYFISHRCF405/config.h b/configs/FLYFISHRCF405/config.h index fef911a3..5612b520 100644 --- a/configs/FLYFISHRCF405/config.h +++ b/configs/FLYFISHRCF405/config.h @@ -115,7 +115,6 @@ #define DASHBOARD_I2C_INSTANCE I2CDEV_1 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG #define GYRO_2_ALIGN_PITCH 900 diff --git a/configs/FLYSPARKF4/config.h b/configs/FLYSPARKF4/config.h index 0835b0fa..5d502820 100644 --- a/configs/FLYSPARKF4/config.h +++ b/configs/FLYSPARKF4/config.h @@ -113,7 +113,6 @@ #define PINIO1_BOX 40 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define SERIALRX_UART SERIAL_PORT_USART2 #define MSP_UART SERIAL_PORT_UART4 diff --git a/configs/FLYWOOF411HEX/config.h b/configs/FLYWOOF411HEX/config.h index 8b943a9f..4cdbb482 100644 --- a/configs/FLYWOOF411HEX/config.h +++ b/configs/FLYWOOF411HEX/config.h @@ -94,4 +94,3 @@ #define FLASH_SPI_INSTANCE SPI2 #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 713d25bb..ad105cd6 100644 --- a/configs/FLYWOOF411V2/config.h +++ b/configs/FLYWOOF411V2/config.h @@ -97,5 +97,4 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/FLYWOOF722PRO/config.h b/configs/FLYWOOF722PRO/config.h index c4d974e1..11c5211f 100644 --- a/configs/FLYWOOF722PRO/config.h +++ b/configs/FLYWOOF722PRO/config.h @@ -115,5 +115,4 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 //TODO set box_user_1_name = VTX POWER diff --git a/configs/FLYWOOF722PROV2/config.h b/configs/FLYWOOF722PROV2/config.h index 4577c9b6..57411c7e 100644 --- a/configs/FLYWOOF722PROV2/config.h +++ b/configs/FLYWOOF722PROV2/config.h @@ -116,7 +116,5 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 //TODO set box_user_1_name = VTX POWER diff --git a/configs/FOXEERF405/config.h b/configs/FOXEERF405/config.h index 6930a5b9..ad93e29c 100644 --- a/configs/FOXEERF405/config.h +++ b/configs/FOXEERF405/config.h @@ -106,4 +106,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/FOXEERF745V4_AIO/config.h b/configs/FOXEERF745V4_AIO/config.h index bb2960bd..f1babbbe 100644 --- a/configs/FOXEERF745V4_AIO/config.h +++ b/configs/FOXEERF745V4_AIO/config.h @@ -103,4 +103,3 @@ #define FLASH_SPI_INSTANCE SPI4 #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 3a0d6aca..1afb1565 100644 --- a/configs/FOXEERF745_AIO/config.h +++ b/configs/FOXEERF745_AIO/config.h @@ -101,4 +101,3 @@ #define FLASH_SPI_INSTANCE SPI4 #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/FPVCYCLEF401/config.h b/configs/FPVCYCLEF401/config.h index 516005a6..128ee1bb 100644 --- a/configs/FPVCYCLEF401/config.h +++ b/configs/FPVCYCLEF401/config.h @@ -73,4 +73,3 @@ #define MAX7456_SPI_INSTANCE SPI2 #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 87e6b12f..6284ff33 100644 --- a/configs/FPVM_BETAFLIGHTF7/config.h +++ b/configs/FPVM_BETAFLIGHTF7/config.h @@ -107,7 +107,5 @@ #define FLASH_SPI_INSTANCE SPI4 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO_2_SPI_INSTANCE SPI3 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 diff --git a/configs/FRSKYF4/config.h b/configs/FRSKYF4/config.h index a61b0170..042b6585 100644 --- a/configs/FRSKYF4/config.h +++ b/configs/FRSKYF4/config.h @@ -109,4 +109,3 @@ #define MAX7456_SPI_INSTANCE SPI3 #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 3ed40b55..6039f030 100644 --- a/configs/FURYF4/config.h +++ b/configs/FURYF4/config.h @@ -102,4 +102,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 077964a2..c954f6cb 100644 --- a/configs/GEELANGF411/config.h +++ b/configs/GEELANGF411/config.h @@ -92,4 +92,3 @@ #define FLASH_SPI_INSTANCE SPI2 #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 cdf098f0..619ca52b 100644 --- a/configs/GEMEF411/config.h +++ b/configs/GEMEF411/config.h @@ -99,4 +99,3 @@ #define FLASH_SPI_INSTANCE SPI2 #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 8d2eed6d..b09cc60d 100644 --- a/configs/GEMEF722/config.h +++ b/configs/GEMEF722/config.h @@ -89,4 +89,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/GEPRCF722/config.h b/configs/GEPRCF722/config.h index 4be0aa61..9089b082 100644 --- a/configs/GEPRCF722/config.h +++ b/configs/GEPRCF722/config.h @@ -118,5 +118,4 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI3 diff --git a/configs/GEPRC_F722_AIO/config.h b/configs/GEPRC_F722_AIO/config.h index 370b8006..c9f17396 100644 --- a/configs/GEPRC_F722_AIO/config.h +++ b/configs/GEPRC_F722_AIO/config.h @@ -111,4 +111,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 248b7ac7..3ff6406b 100644 --- a/configs/GEP_F405_VTX_V3/config.h +++ b/configs/GEP_F405_VTX_V3/config.h @@ -106,4 +106,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/HAKRCF405/config.h b/configs/HAKRCF405/config.h index 9f9fb07c..efaf8722 100644 --- a/configs/HAKRCF405/config.h +++ b/configs/HAKRCF405/config.h @@ -102,4 +102,3 @@ #define FLASH_SPI_INSTANCE SPI2 #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 228092e0..d5cec154 100644 --- a/configs/HAKRCF405D/config.h +++ b/configs/HAKRCF405D/config.h @@ -122,4 +122,3 @@ #define PINIO2_BOX 41 #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 03cc5ef3..8b4e464c 100644 --- a/configs/HAKRCF405V2/config.h +++ b/configs/HAKRCF405V2/config.h @@ -116,4 +116,3 @@ #define PINIO2_BOX 41 #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 50a6a568..65f0e73f 100644 --- a/configs/HAKRCF411/config.h +++ b/configs/HAKRCF411/config.h @@ -85,4 +85,3 @@ #define MAX7456_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/HAKRCF722/config.h b/configs/HAKRCF722/config.h index b6332fe4..b6f3fc28 100644 --- a/configs/HAKRCF722/config.h +++ b/configs/HAKRCF722/config.h @@ -95,4 +95,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/HAKRCF722V2/config.h b/configs/HAKRCF722V2/config.h index 9b685ff4..e9e85157 100644 --- a/configs/HAKRCF722V2/config.h +++ b/configs/HAKRCF722V2/config.h @@ -117,7 +117,5 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG -#define GYRO_2_ALIGN_YAW 900 diff --git a/configs/HELSEL_STRIKERF7/config.h b/configs/HELSEL_STRIKERF7/config.h index 099e2963..cf678e0b 100644 --- a/configs/HELSEL_STRIKERF7/config.h +++ b/configs/HELSEL_STRIKERF7/config.h @@ -84,4 +84,3 @@ #define BEEPER_INVERTED #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/HGLRCF411ELRS/config.h b/configs/HGLRCF411ELRS/config.h index cffc8b53..0347f1fc 100644 --- a/configs/HGLRCF411ELRS/config.h +++ b/configs/HGLRCF411ELRS/config.h @@ -97,4 +97,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/HGLRCF411SX1280/config.h b/configs/HGLRCF411SX1280/config.h index f4268efe..ebc21ada 100644 --- a/configs/HGLRCF411SX1280/config.h +++ b/configs/HGLRCF411SX1280/config.h @@ -108,4 +108,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/HGLRCF411SX1280V2/config.h b/configs/HGLRCF411SX1280V2/config.h index 00e16127..01948f54 100644 --- a/configs/HGLRCF411SX1280V2/config.h +++ b/configs/HGLRCF411SX1280V2/config.h @@ -117,4 +117,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/HGLRCF722AIO_X6/config.h b/configs/HGLRCF722AIO_X6/config.h index f0238635..9e00cf9d 100644 --- a/configs/HGLRCF722AIO_X6/config.h +++ b/configs/HGLRCF722AIO_X6/config.h @@ -115,4 +115,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/HOBBYWING_XROTORF4G3/config.h b/configs/HOBBYWING_XROTORF4G3/config.h index 6525dd9a..18332100 100644 --- a/configs/HOBBYWING_XROTORF4G3/config.h +++ b/configs/HOBBYWING_XROTORF4G3/config.h @@ -116,5 +116,4 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/HOBBYWING_XROTORF7CONV/config.h b/configs/HOBBYWING_XROTORF7CONV/config.h index 84ec7162..ffc7dc9f 100644 --- a/configs/HOBBYWING_XROTORF7CONV/config.h +++ b/configs/HOBBYWING_XROTORF7CONV/config.h @@ -115,7 +115,5 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 diff --git a/configs/IFLIGHT_BLITZ_F411RX/config.h b/configs/IFLIGHT_BLITZ_F411RX/config.h index 1931d0d3..0a4370da 100644 --- a/configs/IFLIGHT_BLITZ_F411RX/config.h +++ b/configs/IFLIGHT_BLITZ_F411RX/config.h @@ -88,4 +88,3 @@ #define RX_CC2500_SPI_DISABLE_CHIP_DETECTION #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/IFLIGHT_BLITZ_F7_PRO/config.h b/configs/IFLIGHT_BLITZ_F7_PRO/config.h index 7bf2d52e..ae16b6d8 100644 --- a/configs/IFLIGHT_BLITZ_F7_PRO/config.h +++ b/configs/IFLIGHT_BLITZ_F7_PRO/config.h @@ -108,4 +108,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/IFLIGHT_F4SX1280/config.h b/configs/IFLIGHT_F4SX1280/config.h index 484b0948..6d84fb3d 100644 --- a/configs/IFLIGHT_F4SX1280/config.h +++ b/configs/IFLIGHT_F4SX1280/config.h @@ -97,5 +97,4 @@ #define MAX7456_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 //TODO #define EXPRESSLRS_DOMAIN ISM2400 diff --git a/configs/IFLIGHT_F745_AIO_V2/config.h b/configs/IFLIGHT_F745_AIO_V2/config.h index ebb63e53..9d243068 100644 --- a/configs/IFLIGHT_F745_AIO_V2/config.h +++ b/configs/IFLIGHT_F745_AIO_V2/config.h @@ -121,4 +121,3 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI2 #define GYRO_2_ALIGN CW180_DEG -#define GYRO_2_ALIGN_YAW 1800 diff --git a/configs/IFLIGHT_H7_TWING/config.h b/configs/IFLIGHT_H7_TWING/config.h index cdddfa55..49abe70d 100644 --- a/configs/IFLIGHT_H7_TWING/config.h +++ b/configs/IFLIGHT_H7_TWING/config.h @@ -122,4 +122,3 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI2 #define GYRO_2_ALIGN CW90_DEG -#define GYRO_2_ALIGN_YAW 900 diff --git a/configs/JBF7/config.h b/configs/JBF7/config.h index 04924e22..38ad8d1d 100644 --- a/configs/JBF7/config.h +++ b/configs/JBF7/config.h @@ -160,4 +160,3 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG -#define GYRO_2_ALIGN_YAW 900 diff --git a/configs/JBF7_DJI/config.h b/configs/JBF7_DJI/config.h index a314eeaf..f81b6020 100644 --- a/configs/JBF7_DJI/config.h +++ b/configs/JBF7_DJI/config.h @@ -134,4 +134,3 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG -#define GYRO_2_ALIGN_YAW 900 diff --git a/configs/JHEF405PRO/config.h b/configs/JHEF405PRO/config.h index 6c2828a5..369c1a07 100644 --- a/configs/JHEF405PRO/config.h +++ b/configs/JHEF405PRO/config.h @@ -106,5 +106,4 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO2_SPI_INSTANCE SPI1 diff --git a/configs/JHEF411/config.h b/configs/JHEF411/config.h index 1d91c891..0497a52f 100644 --- a/configs/JHEF411/config.h +++ b/configs/JHEF411/config.h @@ -102,5 +102,4 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/JHEH743_HD/config.h b/configs/JHEH743_HD/config.h index bebaba21..3439f931 100644 --- a/configs/JHEH743_HD/config.h +++ b/configs/JHEH743_HD/config.h @@ -145,7 +145,6 @@ #define PINIO2_CONFIG 129 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI4 #define GYRO_2_ALIGN CW0_DEG #define GYRO_2_ALIGN_YAW 0 diff --git a/configs/KIWIF4/config.h b/configs/KIWIF4/config.h index 2b0a72b4..48f88659 100644 --- a/configs/KIWIF4/config.h +++ b/configs/KIWIF4/config.h @@ -83,4 +83,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 1dad0877..48d23aa4 100644 --- a/configs/KIWIF4V2/config.h +++ b/configs/KIWIF4V2/config.h @@ -85,4 +85,3 @@ #define MAX7456_SPI_INSTANCE SPI3 #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 2e088acd..44cb8d3c 100644 --- a/configs/KROOZX/config.h +++ b/configs/KROOZX/config.h @@ -107,4 +107,3 @@ #define DASHBOARD_I2C_INSTANCE (I2CDEV_3) #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/LUXF4OSD/config.h b/configs/LUXF4OSD/config.h index e0edb8b3..19409d87 100644 --- a/configs/LUXF4OSD/config.h +++ b/configs/LUXF4OSD/config.h @@ -111,5 +111,4 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/LUXF7HDV/config.h b/configs/LUXF7HDV/config.h index bce3507b..916edea3 100644 --- a/configs/LUXF7HDV/config.h +++ b/configs/LUXF7HDV/config.h @@ -86,4 +86,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/MAMBAF405US/config.h b/configs/MAMBAF405US/config.h index 69963931..23d90bca 100644 --- a/configs/MAMBAF405US/config.h +++ b/configs/MAMBAF405US/config.h @@ -44,7 +44,6 @@ #define GYRO_1_CS_PIN PA4 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 #define SPI1_SCK_PIN PA5 #define SPI1_SDI_PIN PA6 diff --git a/configs/MAMBAF405_2022A/config.h b/configs/MAMBAF405_2022A/config.h index 0191761f..7feff922 100644 --- a/configs/MAMBAF405_2022A/config.h +++ b/configs/MAMBAF405_2022A/config.h @@ -116,4 +116,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 727b0ab9..64cf39e3 100644 --- a/configs/MAMBAF405_2022B/config.h +++ b/configs/MAMBAF405_2022B/config.h @@ -116,4 +116,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/MAMBAF722_2022A/config.h b/configs/MAMBAF722_2022A/config.h index 5c122aea..37972429 100644 --- a/configs/MAMBAF722_2022A/config.h +++ b/configs/MAMBAF722_2022A/config.h @@ -115,4 +115,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 db996237..7ea78485 100644 --- a/configs/MAMBAF722_2022B/config.h +++ b/configs/MAMBAF722_2022B/config.h @@ -117,4 +117,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/MAMBAF722_X8/config.h b/configs/MAMBAF722_X8/config.h index 1184393c..2ddf5bbe 100644 --- a/configs/MAMBAF722_X8/config.h +++ b/configs/MAMBAF722_X8/config.h @@ -109,4 +109,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 96d73def..828467b8 100644 --- a/configs/MAMBAH743/config.h +++ b/configs/MAMBAH743/config.h @@ -134,7 +134,5 @@ #define PINIO1_BOX 0 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI4 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 diff --git a/configs/MAMBAH743_2022B/config.h b/configs/MAMBAH743_2022B/config.h index 1a73766c..66e261df 100644 --- a/configs/MAMBAH743_2022B/config.h +++ b/configs/MAMBAH743_2022B/config.h @@ -137,4 +137,3 @@ #define GYRO_1_ALIGN_YAW 0 #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 cf35765d..ce382b45 100644 --- a/configs/MATEKF405AIO/config.h +++ b/configs/MATEKF405AIO/config.h @@ -115,4 +115,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/MATEKF405MINI/config.h b/configs/MATEKF405MINI/config.h index 6622fe6c..691fb0ed 100644 --- a/configs/MATEKF405MINI/config.h +++ b/configs/MATEKF405MINI/config.h @@ -112,4 +112,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/MATEKF722MINI/config.h b/configs/MATEKF722MINI/config.h index 7f573387..5c3bc907 100644 --- a/configs/MATEKF722MINI/config.h +++ b/configs/MATEKF722MINI/config.h @@ -127,4 +127,3 @@ #define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG -#define GYRO_2_ALIGN_YAW 900 diff --git a/configs/MINI_H743_HD/config.h b/configs/MINI_H743_HD/config.h index 69bda749..7d6e6d65 100644 --- a/configs/MINI_H743_HD/config.h +++ b/configs/MINI_H743_HD/config.h @@ -138,7 +138,6 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI4 #define GYRO_2_ALIGN CW0_DEG_FLIP #define GYRO_2_ALIGN_PITCH 1800 diff --git a/configs/MLTEMPF4/config.h b/configs/MLTEMPF4/config.h index b3520ad8..859d3f44 100644 --- a/configs/MLTEMPF4/config.h +++ b/configs/MLTEMPF4/config.h @@ -94,4 +94,3 @@ #define MAX7456_SPI_INSTANCE SPI3 #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 a8230baf..5f14f6c3 100644 --- a/configs/MLTYPHF4/config.h +++ b/configs/MLTYPHF4/config.h @@ -99,4 +99,3 @@ #define MAX7456_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/NAMIMNOF722/config.h b/configs/NAMIMNOF722/config.h index 71aa3612..44e52742 100644 --- a/configs/NAMIMNOF722/config.h +++ b/configs/NAMIMNOF722/config.h @@ -116,4 +116,3 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/NBD_CRICKETF7/config.h b/configs/NBD_CRICKETF7/config.h index 42950f4d..6515c0a3 100644 --- a/configs/NBD_CRICKETF7/config.h +++ b/configs/NBD_CRICKETF7/config.h @@ -81,4 +81,3 @@ #define FLASH_SPI_INSTANCE SPI1 #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 9da2d6ef..1d0c90b6 100644 --- a/configs/NBD_CRICKETF7V2/config.h +++ b/configs/NBD_CRICKETF7V2/config.h @@ -82,6 +82,5 @@ #define MAX7456_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 #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 ebb1e7e2..19705074 100644 --- a/configs/NBD_GALAXYAIO255/config.h +++ b/configs/NBD_GALAXYAIO255/config.h @@ -115,5 +115,4 @@ #define MAX7456_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO_2_SPI_INSTANCE SPI4 diff --git a/configs/NBD_INFINITY200RS/config.h b/configs/NBD_INFINITY200RS/config.h index a5702daf..65bbc672 100644 --- a/configs/NBD_INFINITY200RS/config.h +++ b/configs/NBD_INFINITY200RS/config.h @@ -97,5 +97,4 @@ #define FLASH_SPI_INSTANCE SPI1 #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO_2_SPI_INSTANCE SPI2 diff --git a/configs/NBD_INFINITYAIO/config.h b/configs/NBD_INFINITYAIO/config.h index 2e374a42..bea9b6e0 100644 --- a/configs/NBD_INFINITYAIO/config.h +++ b/configs/NBD_INFINITYAIO/config.h @@ -78,4 +78,3 @@ #define FLASH_SPI_INSTANCE SPI1 #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/NBD_INFINITYAIO255/config.h b/configs/NBD_INFINITYAIO255/config.h index 3b4697df..5c30730f 100644 --- a/configs/NBD_INFINITYAIO255/config.h +++ b/configs/NBD_INFINITYAIO255/config.h @@ -93,4 +93,3 @@ #define FLASH_SPI_INSTANCE SPI1 #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 b76e135d..5853af52 100644 --- a/configs/NBD_INFINITYAIOV2PRO/config.h +++ b/configs/NBD_INFINITYAIOV2PRO/config.h @@ -100,4 +100,3 @@ #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_2_SPI_INSTANCE SPI2 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 diff --git a/configs/NBD_INFINITYF4/config.h b/configs/NBD_INFINITYF4/config.h index d24ac2f3..78b8658a 100644 --- a/configs/NBD_INFINITYF4/config.h +++ b/configs/NBD_INFINITYF4/config.h @@ -104,6 +104,5 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define PINIO1_CONFIG 129 #define PINIO1_BOX 40 diff --git a/configs/NEUTRONRCF411AIO/config.h b/configs/NEUTRONRCF411AIO/config.h index 8d6db811..962eac4d 100644 --- a/configs/NEUTRONRCF411AIO/config.h +++ b/configs/NEUTRONRCF411AIO/config.h @@ -101,4 +101,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/NEUTRONRCF745/config.h b/configs/NEUTRONRCF745/config.h index ab0067bb..d726c502 100644 --- a/configs/NEUTRONRCF745/config.h +++ b/configs/NEUTRONRCF745/config.h @@ -144,4 +144,3 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI2 #define GYRO_2_ALIGN CW180_DEG -#define GYRO_2_ALIGN_YAW 1800 diff --git a/configs/NEUTRONRCF745VTX/config.h b/configs/NEUTRONRCF745VTX/config.h index 4e519e73..5b5ce4b9 100644 --- a/configs/NEUTRONRCF745VTX/config.h +++ b/configs/NEUTRONRCF745VTX/config.h @@ -150,5 +150,4 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/NEUTRONRCF7AIO/config.h b/configs/NEUTRONRCF7AIO/config.h index 7be47091..1b63caa2 100644 --- a/configs/NEUTRONRCF7AIO/config.h +++ b/configs/NEUTRONRCF7AIO/config.h @@ -127,4 +127,3 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI2 #define GYRO_2_ALIGN CW180_DEG -#define GYRO_2_ALIGN_YAW 1800 diff --git a/configs/NEUTRONRCG4AIO/config.h b/configs/NEUTRONRCG4AIO/config.h index 1138a1f5..907feaf3 100644 --- a/configs/NEUTRONRCG4AIO/config.h +++ b/configs/NEUTRONRCG4AIO/config.h @@ -102,4 +102,3 @@ #define DEFAULT_PID_PROCESS_DENOM 2 #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 c6ce3b2d..ca213121 100644 --- a/configs/NEUTRONRCH743AIO/config.h +++ b/configs/NEUTRONRCH743AIO/config.h @@ -140,5 +140,4 @@ #define MAX7456_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO_2_SPI_INSTANCE SPI4 diff --git a/configs/NEUTRONRCH7BT/config.h b/configs/NEUTRONRCH7BT/config.h index d0f7ce27..49f15822 100644 --- a/configs/NEUTRONRCH7BT/config.h +++ b/configs/NEUTRONRCH7BT/config.h @@ -151,5 +151,4 @@ #define PINIO4_BOX 42 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 #define GYRO_2_SPI_INSTANCE SPI4 diff --git a/configs/NUCLEOF722/config.h b/configs/NUCLEOF722/config.h index 68533ec5..214a9097 100644 --- a/configs/NUCLEOF722/config.h +++ b/configs/NUCLEOF722/config.h @@ -80,4 +80,3 @@ #define MAG_I2C_INSTANCE I2CDEV_1 #define BARO_I2C_INSTANCE I2CDEV_1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/OMNINXT4/config.h b/configs/OMNINXT4/config.h index 0dd6f449..1def58ae 100644 --- a/configs/OMNINXT4/config.h +++ b/configs/OMNINXT4/config.h @@ -121,4 +121,3 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 diff --git a/configs/OMNINXT7/config.h b/configs/OMNINXT7/config.h index cb565d0b..543eb260 100644 --- a/configs/OMNINXT7/config.h +++ b/configs/OMNINXT7/config.h @@ -117,4 +117,3 @@ #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 diff --git a/configs/ORBITF435/config.h b/configs/ORBITF435/config.h index af198c24..58f3ec87 100644 --- a/configs/ORBITF435/config.h +++ b/configs/ORBITF435/config.h @@ -116,7 +116,6 @@ #define MAX7456_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 #define PINIO1_PIN PC8 #define PINIO1_CONFIG 129 diff --git a/configs/PLUMF4/config.h b/configs/PLUMF4/config.h index 279cfc37..222c66f5 100644 --- a/configs/PLUMF4/config.h +++ b/configs/PLUMF4/config.h @@ -82,4 +82,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/PODRACERAIO/config.h b/configs/PODRACERAIO/config.h index d07ac077..f5228c67 100644 --- a/configs/PODRACERAIO/config.h +++ b/configs/PODRACERAIO/config.h @@ -76,6 +76,5 @@ #define MAX7456_SPI_INSTANCE SPI1 #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define DEFAULT_DSHOT_BURST DSHOT_DMAR_AUTO #define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_OFF diff --git a/configs/RADIOLINKF722/config.h b/configs/RADIOLINKF722/config.h index 1296891e..c9e3fd62 100644 --- a/configs/RADIOLINKF722/config.h +++ b/configs/RADIOLINKF722/config.h @@ -109,4 +109,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/REVO/config.h b/configs/REVO/config.h index ad200550..7189fc61 100644 --- a/configs/REVO/config.h +++ b/configs/REVO/config.h @@ -101,4 +101,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/REVONANO/config.h b/configs/REVONANO/config.h index 64c861cc..ed1f37ed 100644 --- a/configs/REVONANO/config.h +++ b/configs/REVONANO/config.h @@ -85,4 +85,3 @@ #define SYSTEM_HSE_MHZ 8 #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/RUSRACE_F4/config.h b/configs/RUSRACE_F4/config.h index 6dad3344..9256e40e 100644 --- a/configs/RUSRACE_F4/config.h +++ b/configs/RUSRACE_F4/config.h @@ -100,4 +100,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 0612f891..38e8e6b1 100644 --- a/configs/RUSRACE_F7/config.h +++ b/configs/RUSRACE_F7/config.h @@ -99,4 +99,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/SDMODELH7V2/config.h b/configs/SDMODELH7V2/config.h index 62dcaa28..ee46fafe 100644 --- a/configs/SDMODELH7V2/config.h +++ b/configs/SDMODELH7V2/config.h @@ -140,4 +140,3 @@ #define PINIO2_BOX 41 #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/SIRMIXALOT/config.h b/configs/SIRMIXALOT/config.h index c7a40b6a..3994585a 100644 --- a/configs/SIRMIXALOT/config.h +++ b/configs/SIRMIXALOT/config.h @@ -124,4 +124,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/SKYSTARSF411/config.h b/configs/SKYSTARSF411/config.h index 544127ba..d63b5375 100644 --- a/configs/SKYSTARSF411/config.h +++ b/configs/SKYSTARSF411/config.h @@ -104,4 +104,3 @@ #define MAX7456_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/SKYSTARSH7HD/config.h b/configs/SKYSTARSH7HD/config.h index 5b86f0c3..ad136d26 100644 --- a/configs/SKYSTARSH7HD/config.h +++ b/configs/SKYSTARSH7HD/config.h @@ -143,5 +143,4 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO_2_SPI_INSTANCE SPI4 diff --git a/configs/SKYZONEF405/config.h b/configs/SKYZONEF405/config.h index 6694cf41..b42835d4 100644 --- a/configs/SKYZONEF405/config.h +++ b/configs/SKYZONEF405/config.h @@ -106,4 +106,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/SOLOGOODF405/config.h b/configs/SOLOGOODF405/config.h index 4f0afeaf..9a9c2642 100644 --- a/configs/SOLOGOODF405/config.h +++ b/configs/SOLOGOODF405/config.h @@ -113,4 +113,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/SOLOGOODF722/config.h b/configs/SOLOGOODF722/config.h index aab47d9a..d8de181a 100644 --- a/configs/SOLOGOODF722/config.h +++ b/configs/SOLOGOODF722/config.h @@ -111,4 +111,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 9b6cd99c..3ee15fc7 100644 --- a/configs/SOULF4/config.h +++ b/configs/SOULF4/config.h @@ -105,4 +105,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 924ad4e5..92388b4a 100644 --- a/configs/SPARKY2/config.h +++ b/configs/SPARKY2/config.h @@ -96,4 +96,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/SPEEDYBEEF405MINI/config.h b/configs/SPEEDYBEEF405MINI/config.h index 4c535d72..b04ff0f5 100644 --- a/configs/SPEEDYBEEF405MINI/config.h +++ b/configs/SPEEDYBEEF405MINI/config.h @@ -108,4 +108,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/SPEEDYBEEF405V4/config.h b/configs/SPEEDYBEEF405V4/config.h index 526583c4..ce8afaea 100644 --- a/configs/SPEEDYBEEF405V4/config.h +++ b/configs/SPEEDYBEEF405V4/config.h @@ -114,7 +114,6 @@ #define PINIO1_BOX 0 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define SERIALRX_UART SERIAL_PORT_USART2 #define MSP_UART SERIAL_PORT_UART4 diff --git a/configs/SPEEDYBEEF7MINIV2/config.h b/configs/SPEEDYBEEF7MINIV2/config.h index bd96ac4d..3f79fbe7 100644 --- a/configs/SPEEDYBEEF7MINIV2/config.h +++ b/configs/SPEEDYBEEF7MINIV2/config.h @@ -113,4 +113,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/SPEEDYBEE_F745_AIO/config.h b/configs/SPEEDYBEE_F745_AIO/config.h index c64f9a89..77adc5ce 100644 --- a/configs/SPEEDYBEE_F745_AIO/config.h +++ b/configs/SPEEDYBEE_F745_AIO/config.h @@ -101,4 +101,3 @@ #define FLASH_SPI_INSTANCE SPI1 #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/STACKX/config.h b/configs/STACKX/config.h index 4be703ff..62e5443f 100644 --- a/configs/STACKX/config.h +++ b/configs/STACKX/config.h @@ -97,4 +97,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/STM32F411DISCOVERY/config.h b/configs/STM32F411DISCOVERY/config.h index 5fc23d23..416eb669 100644 --- a/configs/STM32F411DISCOVERY/config.h +++ b/configs/STM32F411DISCOVERY/config.h @@ -82,4 +82,3 @@ #define SYSTEM_HSE_MHZ 8 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/SUB250REDFOXF722AIO/config.h b/configs/SUB250REDFOXF722AIO/config.h index b8e51c86..9c07d243 100644 --- a/configs/SUB250REDFOXF722AIO/config.h +++ b/configs/SUB250REDFOXF722AIO/config.h @@ -117,8 +117,6 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG -#define GYRO_2_ALIGN_YAW 900 #define align_board_yaw -45 diff --git a/configs/TCMMF411/config.h b/configs/TCMMF411/config.h index 6eab6ff7..28a0e52b 100644 --- a/configs/TCMMF411/config.h +++ b/configs/TCMMF411/config.h @@ -95,4 +95,3 @@ #define BARO_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/TMH7/config.h b/configs/TMH7/config.h index a24a1be6..cdb8b4df 100644 --- a/configs/TMH7/config.h +++ b/configs/TMH7/config.h @@ -126,4 +126,3 @@ #define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI4 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 diff --git a/configs/TMOTORVELOXF7V2/config.h b/configs/TMOTORVELOXF7V2/config.h index 3054b88d..38e3f314 100644 --- a/configs/TMOTORVELOXF7V2/config.h +++ b/configs/TMOTORVELOXF7V2/config.h @@ -104,5 +104,4 @@ #define FLASH_SPI_INSTANCE SPI3 #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 773658ef..96521a59 100644 --- a/configs/TMPACERF7/config.h +++ b/configs/TMPACERF7/config.h @@ -94,4 +94,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/TMVELOXF411/config.h b/configs/TMVELOXF411/config.h index ac2eeff4..63119b4f 100644 --- a/configs/TMVELOXF411/config.h +++ b/configs/TMVELOXF411/config.h @@ -89,4 +89,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 5f4fba42..5ac73dcf 100644 --- a/configs/TMVELOXF7/config.h +++ b/configs/TMVELOXF7/config.h @@ -116,4 +116,3 @@ #define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW270_DEG -#define GYRO_2_ALIGN_YAW 2700 diff --git a/configs/TRANSTECF411/config.h b/configs/TRANSTECF411/config.h index a46bc6b9..74264c85 100644 --- a/configs/TRANSTECF411/config.h +++ b/configs/TRANSTECF411/config.h @@ -80,4 +80,3 @@ #define MAX7456_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/TRANSTECF411HD/config.h b/configs/TRANSTECF411HD/config.h index 36c89316..8c3bd0d9 100644 --- a/configs/TRANSTECF411HD/config.h +++ b/configs/TRANSTECF411HD/config.h @@ -80,6 +80,5 @@ #define SYSTEM_HSE_MHZ 8 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define MAX7456_SPI_INSTANCE NULL //TODO #define SBUS_BAUD_FAST OFF diff --git a/configs/TUNERCF405/config.h b/configs/TUNERCF405/config.h index 910c878a..0c4672c3 100644 --- a/configs/TUNERCF405/config.h +++ b/configs/TUNERCF405/config.h @@ -101,4 +101,3 @@ #define FLASH_SPI_INSTANCE SPI3 #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 cf9b2032..d14defbc 100644 --- a/configs/TUNERCF411/config.h +++ b/configs/TUNERCF411/config.h @@ -84,4 +84,3 @@ #define FLASH_SPI_INSTANCE SPI2 #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 094aa7e8..be5018f5 100644 --- a/configs/UAVPNG030MINI/config.h +++ b/configs/UAVPNG030MINI/config.h @@ -83,4 +83,3 @@ #define DASHBOARD_I2C_INSTANCE I2CDEV_2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/VGOODF722DUAL/config.h b/configs/VGOODF722DUAL/config.h index be859c9d..6a01e83c 100644 --- a/configs/VGOODF722DUAL/config.h +++ b/configs/VGOODF722DUAL/config.h @@ -111,5 +111,4 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 #define GYRO_2_SPI_INSTANCE SPI3 diff --git a/configs/VGOODRCF4/config.h b/configs/VGOODRCF4/config.h index 18713f55..98f81960 100644 --- a/configs/VGOODRCF4/config.h +++ b/configs/VGOODRCF4/config.h @@ -112,5 +112,4 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI3 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 #define GYRO_2_SPI_INSTANCE SPI3 diff --git a/configs/VGOODRCF722_DJI/config.h b/configs/VGOODRCF722_DJI/config.h index 35b34a1e..a43c0890 100644 --- a/configs/VGOODRCF722_DJI/config.h +++ b/configs/VGOODRCF722_DJI/config.h @@ -91,4 +91,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 diff --git a/configs/VRRACE/config.h b/configs/VRRACE/config.h index d0ae5bb9..92d6abcf 100644 --- a/configs/VRRACE/config.h +++ b/configs/VRRACE/config.h @@ -92,4 +92,3 @@ #define SYSTEM_HSE_MHZ 8 #define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 diff --git a/configs/WARPF7/config.h b/configs/WARPF7/config.h index f79c6999..b33fcf9d 100644 --- a/configs/WARPF7/config.h +++ b/configs/WARPF7/config.h @@ -36,7 +36,6 @@ #define GYRO_1_CS_PIN PA4 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 #define USE_BARO #define USE_BARO_SPI_BMP280 diff --git a/configs/XILOF4/config.h b/configs/XILOF4/config.h index 7e6085f5..79d90b8d 100644 --- a/configs/XILOF4/config.h +++ b/configs/XILOF4/config.h @@ -100,4 +100,3 @@ #define FLASH_SPI_INSTANCE SPI2 #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 6efb0895..9b272400 100644 --- a/configs/XRACERF4/config.h +++ b/configs/XRACERF4/config.h @@ -106,5 +106,4 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 #define GYRO_2_SPI_INSTANCE SPI1 diff --git a/configs/YUPIF4/config.h b/configs/YUPIF4/config.h index fa26b2b5..46cb4769 100644 --- a/configs/YUPIF4/config.h +++ b/configs/YUPIF4/config.h @@ -102,4 +102,3 @@ #define MAX7456_SPI_INSTANCE SPI1 #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 a5fb2209..292f9038 100644 --- a/configs/YUPIF7/config.h +++ b/configs/YUPIF7/config.h @@ -101,4 +101,3 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/ZEEZWHOOP/config.h b/configs/ZEEZWHOOP/config.h index f9c868dd..936fe505 100644 --- a/configs/ZEEZWHOOP/config.h +++ b/configs/ZEEZWHOOP/config.h @@ -75,4 +75,3 @@ #define MAX7456_SPI_INSTANCE SPI1 #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 1fea103e..7f670f61 100644 --- a/configs/ZEUSF4EVO/config.h +++ b/configs/ZEUSF4EVO/config.h @@ -97,4 +97,3 @@ #define FLASH_SPI_INSTANCE SPI2 #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 7f38aaf6..c6d95a00 100644 --- a/configs/ZEUSF4FR/config.h +++ b/configs/ZEUSF4FR/config.h @@ -103,4 +103,3 @@ #define FLASH_SPI_INSTANCE SPI2 #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 dd794872..b31be7b4 100644 --- a/configs/ZEUSF722_AIO/config.h +++ b/configs/ZEUSF722_AIO/config.h @@ -117,6 +117,5 @@ #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG -#define GYRO_1_ALIGN_YAW 1800 #define PINIO1_BOX 40 #define PINIO2_BOX 41