Skip to content

Commit ac7c65c

Browse files
authored
GYRO_x_ALIGN_YAW (#645)
* 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; } * handle _DEG_FLIP too BEGIN {undef $/;} s/(^\#define\s+GYRO_([12])_ALIGN\s+CW(90|180|270)_DEG)\n \#define\s+GYRO_\g2_ALIGN_YAW\s+\g3[0] /$1/mx; s/(^\#define\s+GYRO_([12])_ALIGN\s+CW(90|180|270)_DEG_FLIP)\n \#define\s+GYRO_\g2_ALIGN_PITCH\s+1800\n \#define\s+GYRO_\g2_ALIGN_YAW\s+\g3[0] /$1/mx; * Few morre cases, proably missing /g modifier in perl s/// * Handle CW0_DEG_FLIP (better newline handling in perl script) BEGIN {undef $/;} s/(^\#define\s+GYRO_([12])_ALIGN\s+CW(90|180|270)_DEG\n) \#define\s+GYRO_\g2_ALIGN_YAW\s+\g3[0]\n /$1/mxg; s/(^\#define\s+GYRO_([12])_ALIGN\s+CW(90|180|270)_DEG_FLIP\n) \#define\s+GYRO_\g2_ALIGN_PITCH\s+1800\n \#define\s+GYRO_\g2_ALIGN_YAW\s+\g3[0]\n /$1/mxg; s/(^\#define\s+GYRO_([12])_ALIGN\s+CW0_DEG_FLIP\n) \#define\s+GYRO_\g2_ALIGN_PITCH\s+1800\n (?!\#define\s+GYRO_\g2_ALIGN_) /$1/mxg; * Fix some trivial cases manually * Normalize/fix some other cases * mark valid GYRO_1_ALIGN_YAW cases GYRO_1_ALIGN ALIGN_CUSTOM * Fix SPRACINGH7EXTREME typo
1 parent f2067f5 commit ac7c65c

File tree

265 files changed

+11
-332
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

265 files changed

+11
-332
lines changed

configs/AG3XF4/config.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,5 @@
113113
#define FLASH_SPI_INSTANCE SPI2
114114
#define GYRO_1_SPI_INSTANCE SPI1
115115
#define GYRO_1_ALIGN CW270_DEG_FLIP
116-
#define GYRO_1_ALIGN_PITCH 1800
117-
#define GYRO_1_ALIGN_YAW 2700
118116
#define GYRO_2_SPI_INSTANCE SPI1
119117
#define GYRO_2_ALIGN CW0_DEG_FLIP
120-
#define GYRO_2_ALIGN_PITCH 1800

configs/AG3XF7/config.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,5 @@
112112
#define FLASH_SPI_INSTANCE SPI2
113113
#define GYRO_1_SPI_INSTANCE SPI1
114114
#define GYRO_1_ALIGN CW270_DEG_FLIP
115-
#define GYRO_1_ALIGN_PITCH 1800
116-
#define GYRO_1_ALIGN_YAW 2700
117115
#define GYRO_2_SPI_INSTANCE SPI1
118116
#define GYRO_2_ALIGN CW0_DEG_FLIP
119-
#define GYRO_2_ALIGN_PITCH 1800

configs/AIRBOTF4/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,3 @@
110110
#define FLASH_SPI_INSTANCE SPI3
111111
#define GYRO_1_SPI_INSTANCE SPI1
112112
#define GYRO_1_ALIGN CW270_DEG
113-
#define GYRO_1_ALIGN_YAW 2700

configs/AIRBOTF4SD/config.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,5 @@
116116
#define DASHBOARD_I2C_INSTANCE I2CDEV_2
117117
#define GYRO_1_SPI_INSTANCE SPI1
118118
#define GYRO_1_ALIGN CW270_DEG
119-
#define GYRO_1_ALIGN_YAW 2700
120119
#define GYRO_2_SPI_INSTANCE SPI1
121120
#define GYRO_2_ALIGN CW270_DEG
122-
#define GYRO_2_ALIGN_YAW 2700

configs/AIRBOTF4V2/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,4 @@
9393
#define FLASH_SPI_INSTANCE SPI1
9494
#define GYRO_1_SPI_INSTANCE SPI3
9595
#define GYRO_1_ALIGN CW90_DEG
96-
#define GYRO_1_ALIGN_YAW 900
9796
#define GYRO_2_SPI_INSTANCE SPI1

configs/AIRBOTF7/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,4 @@
9393
#define FLASH_SPI_INSTANCE SPI1
9494
#define GYRO_1_SPI_INSTANCE SPI3
9595
#define GYRO_1_ALIGN CW90_DEG
96-
#define GYRO_1_ALIGN_YAW 900
9796
#define GYRO_2_SPI_INSTANCE SPI1

configs/AIRBOTF7HDV/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,3 @@
8686
#define FLASH_SPI_INSTANCE SPI2
8787
#define GYRO_1_SPI_INSTANCE SPI1
8888
#define GYRO_1_ALIGN CW90_DEG
89-
#define GYRO_1_ALIGN_YAW 900

configs/ALIENFLIGHTF4/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,4 @@
120120
#define FLASH_SPI_INSTANCE SPI2
121121
#define GYRO_1_SPI_INSTANCE SPI1
122122
#define GYRO_1_ALIGN CW270_DEG
123-
#define GYRO_1_ALIGN_YAW 2700
124123
#define USE_I2C_PULLUP

configs/ALIENFLIGHTNGF7/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,4 @@
125125
#define FLASH_SPI_INSTANCE SPI2
126126
#define GYRO_1_SPI_INSTANCE SPI1
127127
#define GYRO_1_ALIGN CW270_DEG
128-
#define GYRO_1_ALIGN_YAW 2700
129128
#define USE_I2C_PULLUP

configs/ALIENFLIGHTNGF7_DUAL/config.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@
108108
#define MAX7456_SPI_INSTANCE SPI3
109109
#define GYRO_1_SPI_INSTANCE SPI1
110110
#define GYRO_1_ALIGN CW270_DEG
111-
#define GYRO_1_ALIGN_YAW 2700
112111
#define GYRO_2_SPI_INSTANCE SPI3
113112
#define GYRO_2_ALIGN CW270_DEG
114-
#define GYRO_2_ALIGN_YAW 2700
115113
#define USE_I2C_PULLUP

configs/ALIENFLIGHTNGF7_ELRS/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,5 +123,4 @@
123123
#define MAX7456_SPI_INSTANCE SPI3
124124
#define GYRO_1_SPI_INSTANCE SPI1
125125
#define GYRO_1_ALIGN CW270_DEG
126-
#define GYRO_1_ALIGN_YAW 2700
127126
//TODO #define EXPRESSLRS_DOMAIN ISM2400

configs/ALIENFLIGHTNGF7_RX/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,3 @@
111111
#define MAX7456_SPI_INSTANCE SPI3
112112
#define GYRO_1_SPI_INSTANCE SPI1
113113
#define GYRO_1_ALIGN CW270_DEG
114-
#define GYRO_1_ALIGN_YAW 2700

configs/ANYFCF7/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,3 @@
127127
#define DASHBOARD_I2C_INSTANCE I2CDEV_2
128128
#define GYRO_1_SPI_INSTANCE SPI1
129129
#define GYRO_1_ALIGN CW270_DEG
130-
#define GYRO_1_ALIGN_YAW 2700

configs/ANYFCM7/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,3 @@
109109
#define FLASH_SPI_INSTANCE SPI2
110110
#define GYRO_1_SPI_INSTANCE SPI1
111111
#define GYRO_1_ALIGN CW270_DEG
112-
#define GYRO_1_ALIGN_YAW 2700

configs/AOCODAF405/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,3 @@
106106
#define FLASH_SPI_INSTANCE SPI3
107107
#define GYRO_1_SPI_INSTANCE SPI1
108108
#define GYRO_1_ALIGN CW0_DEG_FLIP
109-
#define GYRO_1_ALIGN_PITCH 1800

configs/AOCODARCF411_AIO/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,5 @@
9898
#define MAX7456_SPI_INSTANCE SPI1
9999
#define GYRO_1_SPI_INSTANCE SPI2
100100
#define GYRO_1_ALIGN CW90_DEG
101-
#define GYRO_1_ALIGN_YAW 900
102101
#define SERIALRX_UART SERIAL_PORT_USART1
103102
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL

configs/AOCODARCF7DUAL/config.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,5 @@
112112
#define FLASH_SPI_INSTANCE SPI3
113113
#define GYRO_1_SPI_INSTANCE SPI2
114114
#define GYRO_1_ALIGN CW270_DEG
115-
#define GYRO_1_ALIGN_YAW 2700
116115
#define GYRO_2_SPI_INSTANCE SPI2
117116
#define GYRO_2_ALIGN CW180_DEG
118-
#define GYRO_2_ALIGN_YAW 1800

configs/AOCODARCH7DUAL/config.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,5 @@
141141
#define FLASH_SPI_INSTANCE SPI3
142142
#define GYRO_1_SPI_INSTANCE SPI1
143143
#define GYRO_1_ALIGN CW90_DEG
144-
#define GYRO_1_ALIGN_YAW 900
145144
#define GYRO_2_SPI_INSTANCE SPI4
146145
#define GYRO_2_ALIGN CW180_DEG
147-
#define GYRO_2_ALIGN_YAW 1800

configs/APEXF7/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,3 @@
105105
#define GYRO_1_SPI_INSTANCE SPI3
106106
#define GYRO_2_SPI_INSTANCE SPI3
107107
#define GYRO_2_ALIGN CW270_DEG
108-
#define GYRO_2_ALIGN_YAW 2700

configs/APEXF72023/config.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,4 @@
107107
#define GYRO_1_SPI_INSTANCE SPI3
108108
#define GYRO_2_SPI_INSTANCE SPI3
109109
#define GYRO_1_ALIGN CW90_DEG
110-
#define GYRO_1_ALIGN_YAW 900
111110
#define GYRO_2_ALIGN CW90_DEG
112-
#define GYRO_2_ALIGN_YAW 900

configs/ARESF7/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,3 @@
101101
#define FLASH_SPI_INSTANCE SPI2
102102
#define GYRO_1_SPI_INSTANCE SPI1
103103
#define GYRO_1_ALIGN CW180_DEG
104-
#define GYRO_1_ALIGN_YAW 1800

configs/ATOMRCF405/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,3 @@
102102
#define FLASH_SPI_INSTANCE SPI2
103103
#define GYRO_1_SPI_INSTANCE SPI1
104104
#define GYRO_1_ALIGN CW90_DEG
105-
#define GYRO_1_ALIGN_YAW 900

configs/ATOMRCF411/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,3 @@
8080
#define MAX7456_SPI_INSTANCE SPI2
8181
#define GYRO_1_SPI_INSTANCE SPI1
8282
#define GYRO_1_ALIGN CW90_DEG
83-
#define GYRO_1_ALIGN_YAW 900

configs/ATOMRCF722/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,3 @@
100100
#define FLASH_SPI_INSTANCE SPI2
101101
#define GYRO_1_SPI_INSTANCE SPI1
102102
#define GYRO_1_ALIGN CW90_DEG
103-
#define GYRO_1_ALIGN_YAW 900

configs/BEASTFPVF722/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,3 @@
114114
#define PINIO1_CONFIG 129
115115
#define PINIO1_BOX 40
116116
#define GYRO_1_ALIGN CW90_DEG
117-
#define GYRO_1_ALIGN_YAW 900

configs/BETAFLIGHTF4/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,3 @@
103103
#define FLASH_SPI_INSTANCE SPI3
104104
#define GYRO_1_SPI_INSTANCE SPI1
105105
#define GYRO_1_ALIGN CW180_DEG
106-
#define GYRO_1_ALIGN_YAW 1800

configs/BETAFPVF405/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,3 @@
118118
#define FLASH_SPI_INSTANCE SPI2
119119
#define GYRO_1_SPI_INSTANCE SPI1
120120
#define GYRO_1_ALIGN CW270_DEG
121-
#define GYRO_1_ALIGN_YAW 2700

configs/BETAFPVF405_ELRS/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@
111111
#define FLASH_SPI_INSTANCE SPI2
112112
#define GYRO_1_SPI_INSTANCE SPI1
113113
#define GYRO_1_ALIGN CW270_DEG
114-
#define GYRO_1_ALIGN_YAW 2700
115114

116115
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
117116
#define SERIALRX_UART SERIAL_PORT_USART3

configs/BETAFPVF411/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@
9696
#define FLASH_SPI_INSTANCE SPI2
9797
#define GYRO_1_SPI_INSTANCE SPI1
9898
#define GYRO_1_ALIGN CW180_DEG
99-
#define GYRO_1_ALIGN_YAW 1800
10099

101100
#define SERIALRX_UART SERIAL_PORT_USART1
102101
#define MSP_DISPLAYPORT_UART SERIAL_PORT_USART2

configs/BETAFPVF411RX/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,3 @@
9999
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
100100
#define GYRO_1_SPI_INSTANCE SPI1
101101
#define GYRO_1_ALIGN CW180_DEG
102-
#define GYRO_1_ALIGN_YAW 1800

configs/BETAFPVF435/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@
107107

108108
#define GYRO_1_SPI_INSTANCE SPI1
109109
#define GYRO_1_ALIGN CW270_DEG
110-
#define GYRO_1_ALIGN_YAW 2700
111110
#define FLASH_SPI_INSTANCE SPI2
112111
#define MAX7456_SPI_INSTANCE SPI3
113112
#define BARO_SPI_INSTANCE SPI3

configs/BETAFPVF4SX1280/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,5 +115,4 @@
115115
#define MAX7456_SPI_INSTANCE SPI2
116116
#define GYRO_1_SPI_INSTANCE SPI1
117117
#define GYRO_1_ALIGN CW90_DEG
118-
#define GYRO_1_ALIGN_YAW 900
119118
//TODO #define EXPRESSLRS_DOMAIN ISM2400

configs/BETAFPVF722/config.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,5 @@
104104
#define FLASH_SPI_INSTANCE SPI2
105105
#define GYRO_1_SPI_INSTANCE SPI1
106106
#define GYRO_1_ALIGN CW180_DEG
107-
#define GYRO_1_ALIGN_YAW 1800
108107
#define GYRO_2_SPI_INSTANCE SPI1
109108
#define GYRO_2_ALIGN CW180_DEG
110-
#define GYRO_2_ALIGN_YAW 1800

configs/BETAFPVG473/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,3 @@
106106
#define FLASH_SPI_INSTANCE SPI3
107107
#define GYRO_1_SPI_INSTANCE SPI1
108108
#define GYRO_1_ALIGN CW180_DEG
109-
#define GYRO_1_ALIGN_YAW 1800

configs/BETAFPVH743/config.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,5 @@
133133
#define FLASH_SPI_INSTANCE SPI2
134134
#define GYRO_1_SPI_INSTANCE SPI1
135135
#define GYRO_1_ALIGN CW180_DEG
136-
#define GYRO_1_ALIGN_YAW 1800
137136
#define GYRO_2_SPI_INSTANCE SPI4
138137
#define GYRO_2_ALIGN CW180_DEG
139-
#define GYRO_2_ALIGN_YAW 1800

configs/BLADE_F7/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,3 @@
107107
#define FLASH_SPI_INSTANCE SPI2
108108
#define GYRO_1_SPI_INSTANCE SPI1
109109
#define GYRO_1_ALIGN CW270_DEG
110-
#define GYRO_1_ALIGN_YAW 2700

configs/BLADE_F7_AIO/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@
120120
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
121121

122122
#define GYRO_1_ALIGN CW270_DEG
123-
#define GYRO_1_ALIGN_YAW 2700
124123

125124
#define PINIO1_BOX 40
126125
#define PINIO2_BOX 41

configs/BLADE_F7_HD/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,3 @@
103103
#define FLASH_SPI_INSTANCE SPI2
104104
#define GYRO_1_SPI_INSTANCE SPI1
105105
#define GYRO_1_ALIGN CW270_DEG
106-
#define GYRO_1_ALIGN_YAW 2700

configs/CADDXF4/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,3 @@
119119
#define PINIO2_BOX 41
120120
#define GYRO_1_SPI_INSTANCE SPI1
121121
#define GYRO_1_ALIGN CW90_DEG
122-
#define GYRO_1_ALIGN_YAW 900

configs/CADDXF4_AIO_ELRS/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,3 @@
111111
#define FLASH_SPI_INSTANCE SPI3
112112
#define GYRO_1_SPI_INSTANCE SPI1
113113
#define GYRO_1_ALIGN CW180_DEG
114-
#define GYRO_1_ALIGN_YAW 1800

configs/CCRCF722D/config.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,5 @@
113113
#define FLASH_SPI_INSTANCE SPI3
114114
#define GYRO_1_SPI_INSTANCE SPI1
115115
#define GYRO_1_ALIGN CW270_DEG
116-
#define GYRO_1_ALIGN_YAW 2700
117116
#define GYRO_2_SPI_INSTANCE SPI1
118117
#define GYRO_2_ALIGN CW270_DEG
119-
#define GYRO_2_ALIGN_YAW 2700

configs/CHONKERH735/config.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ Details: https://github.com/crteensy/yolo-chonker/tree/as-built-20230303
123123

124124
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
125125
#define GYRO_1_ALIGN CW0_DEG_FLIP
126-
#define GYRO_1_ALIGN_PITCH 1800
127126
#define GYRO_2_ALIGN CW0_DEG_FLIP
128-
#define GYRO_2_ALIGN_PITCH 1800
129127

130128
#define ENSURE_MPU_DATA_READY_IS_LOW

configs/CKFLIGHTF4/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@
9999

100100
#define GYRO_1_SPI_INSTANCE SPI1
101101
#define GYRO_1_ALIGN CW0_DEG
102-
#define GYRO_1_ALIGN_YAW 0
103102

104103
#define MAX7456_SPI_INSTANCE SPI2
105104

configs/CLRACINGF7/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@
123123
#define GYRO_1_SPI_INSTANCE SPI1
124124
#define GYRO_2_SPI_INSTANCE SPI1
125125
#define GYRO_2_ALIGN CW90_DEG
126-
#define GYRO_2_ALIGN_YAW 900
127126
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
128127
#define PINIO1_BOX 40
129128
//TODO #define MCO2_ON_PC9 ON

configs/COLIBRI/config.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,3 @@
109109
#define FLASH_SPI_INSTANCE SPI2
110110
#define GYRO_1_SPI_INSTANCE SPI1
111111
#define GYRO_1_ALIGN CW270_DEG_FLIP
112-
#define GYRO_1_ALIGN_PITCH 1800
113-
#define GYRO_1_ALIGN_YAW 2700

configs/CRAZYBEEF405/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,3 @@
9898
#define GYRO_1_SPI_INSTANCE SPI1
9999
#define MAX7456_SPI_INSTANCE SPI2
100100
#define GYRO_1_ALIGN CW180_DEG
101-
#define GYRO_1_ALIGN_YAW 1800

configs/CRAZYBEEF4DXS/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,3 @@
9494
#define MAX7456_SPI_INSTANCE SPI2
9595
#define GYRO_1_SPI_INSTANCE SPI1
9696
#define GYRO_1_ALIGN CW90_DEG
97-
#define GYRO_1_ALIGN_YAW 900

configs/CYCLONEF405_PRO/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,3 @@
115115
#define FLASH_SPI_INSTANCE SPI3
116116
#define GYRO_1_SPI_INSTANCE SPI1
117117
#define GYRO_1_ALIGN CW90_DEG
118-
#define GYRO_1_ALIGN_YAW 900

configs/CYCLONEF722_PRO/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,3 @@
114114
#define FLASH_SPI_INSTANCE SPI3
115115
#define GYRO_1_SPI_INSTANCE SPI1
116116
#define GYRO_1_ALIGN CW90_DEG
117-
#define GYRO_1_ALIGN_YAW 900

configs/DAKEFPVF405/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,3 @@
126126
#define FLASH_SPI_INSTANCE SPI3
127127
#define GYRO_1_SPI_INSTANCE SPI1
128128
#define GYRO_1_ALIGN CW90_DEG
129-
#define GYRO_1_ALIGN_YAW 900

configs/DAKEFPVF411/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,3 @@
9999
#define MAX7456_SPI_INSTANCE SPI2
100100
#define GYRO_1_SPI_INSTANCE SPI1
101101
#define GYRO_1_ALIGN CW270_DEG
102-
#define GYRO_1_ALIGN_YAW 2700

configs/DAKEFPVF722/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@
126126

127127
#define GYRO_1_SPI_INSTANCE SPI1
128128
#define GYRO_1_ALIGN CW90_DEG
129-
#define GYRO_1_ALIGN_YAW 900
130129

131130
#define SERIALRX_UART SERIAL_PORT_USART2
132131
#define ESC_SENSOR_UART SERIAL_PORT_USART3

configs/DAKEFPVF722X8/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119

120120
#define GYRO_1_SPI_INSTANCE SPI1
121121
#define GYRO_1_ALIGN CW90_DEG
122-
#define GYRO_1_ALIGN_YAW 900
123122
#define DEFAULT_CURRENT_METER_SCALE 120
124123

125124
#define SERIALRX_UART SERIAL_PORT_UART5

configs/DALRCF405/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,3 @@
111111
#define FLASH_SPI_INSTANCE SPI2
112112
#define GYRO_1_SPI_INSTANCE SPI1
113113
#define GYRO_1_ALIGN CW90_DEG
114-
#define GYRO_1_ALIGN_YAW 900

configs/DALRCF722DUAL/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,4 @@
110110
#define FLASH_SPI_INSTANCE SPI3
111111
#define GYRO_1_SPI_INSTANCE SPI1
112112
#define GYRO_1_ALIGN CW180_DEG
113-
#define GYRO_1_ALIGN_YAW 1800
114113
#define GYRO_2_SPI_INSTANCE SPI1

configs/DARWINF411/config.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,3 @@
103103
#define MAX7456_SPI_INSTANCE SPI2
104104
#define GYRO_1_SPI_INSTANCE SPI1
105105
#define GYRO_1_ALIGN CW90_DEG_FLIP
106-
#define GYRO_1_ALIGN_PITCH 1800
107-
#define GYRO_1_ALIGN_YAW 900

configs/DARWINF4SX1280HD/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,4 @@
118118
#define MAX7456_SPI_INSTANCE SPI2
119119
#define GYRO_1_SPI_INSTANCE SPI1
120120
#define GYRO_1_ALIGN CW90_DEG
121-
#define GYRO_1_ALIGN_YAW 900
122121
//TODO #define EXPRESSLRS_DOMAIN ISM2400

configs/DARWINF722HD/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,3 @@
122122
#define FLASH_SPI_INSTANCE SPI3
123123
#define GYRO_1_SPI_INSTANCE SPI1
124124
#define GYRO_1_ALIGN CW180_DEG
125-
#define GYRO_1_ALIGN_YAW 1800

configs/DARWINF722HDV2/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,3 @@ dma SPI_MOSI 3 0 # SPI_MOSI 3: DMA1 Stream 5 Channel 0
124124
#define PINIO2_BOX 41
125125
#define GYRO_1_SPI_INSTANCE SPI1
126126
#define GYRO_1_ALIGN CW180_DEG
127-
#define GYRO_1_ALIGN_YAW 1800

configs/DREAMFLYF405/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,3 @@
127127
#define FLASH_SPI_INSTANCE SPI3
128128
#define GYRO_1_SPI_INSTANCE SPI1
129129
#define GYRO_1_ALIGN CW90_DEG
130-
#define GYRO_1_ALIGN_YAW 900

configs/DREAMFLYF722/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,3 @@
125125
#define FLASH_SPI_INSTANCE SPI3
126126
#define GYRO_1_SPI_INSTANCE SPI1
127127
#define GYRO_1_ALIGN CW90_DEG
128-
#define GYRO_1_ALIGN_YAW 900

configs/DRONIUSF7/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,5 @@
102102
#define FLASH_SPI_INSTANCE SPI3
103103
#define GYRO_1_SPI_INSTANCE SPI1
104104
#define GYRO_1_ALIGN CW0_DEG_FLIP
105-
#define GYRO_1_ALIGN_PITCH 1800
106105
#define PINIO1_BOX 40
107106
//TODO set box_user_1_name = VTX POWER

configs/DYSF44530D/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,3 @@
107107
#define FLASH_SPI_INSTANCE SPI3
108108
#define GYRO_1_SPI_INSTANCE SPI1
109109
#define GYRO_1_ALIGN CW270_DEG
110-
#define GYRO_1_ALIGN_YAW 2700

configs/EACHINEF411_AIO/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,5 @@
8484
#define MAX7456_SPI_INSTANCE SPI2
8585
#define FLASH_SPI_INSTANCE SPI2
8686
#define GYRO_1_SPI_INSTANCE SPI1
87-
#define GYRO_1_ALIGN_YAW 2700
8887
#define GYRO_1_ALIGN CW270_DEG
8988
#define BEEPER_INVERTED

0 commit comments

Comments
 (0)