Skip to content

Commit d4fb425

Browse files
committed
cleanup
1 parent 19501e6 commit d4fb425

File tree

34 files changed

+40
-34
lines changed

34 files changed

+40
-34
lines changed

configs/AOCODARCF7DUAL/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#define USE_ACC
3030
#define USE_ACC_SPI_MPU6000
3131
#define USE_GYRO
32-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_2
3332
#define USE_GYRO_SPI_MPU6000
3433
#define USE_ACCGYRO_BMI270
3534
#define USE_BARO
@@ -100,6 +99,7 @@
10099

101100
#define ADC1_DMA_OPT 0
102101

102+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_2
103103
#define MAG_I2C_INSTANCE I2CDEV_2
104104
#define BARO_I2C_INSTANCE I2CDEV_1
105105
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH

configs/AOCODARCH7DUAL/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#define MANUFACTURER_ID SJET
2828

2929
#define USE_GYRO
30-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3130
#define USE_ACC
3231
#define USE_ACC_SPI_MPU6000
3332
#define USE_GYRO_SPI_MPU6000
@@ -127,6 +126,7 @@
127126
#define TIMUP4_DMA_OPT 1
128127
#define TIMUP5_DMA_OPT 0
129128

129+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
130130
#define MAG_I2C_INSTANCE I2CDEV_1
131131
#define BARO_I2C_INSTANCE I2CDEV_2
132132
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH

configs/CCRCF722D/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#define MANUFACTURER_ID CCRC
2828

2929
#define USE_GYRO
30-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3130
#define USE_ACC
3231
#define USE_GYRO_SPI_ICM42688P
3332
#define USE_ACC_SPI_ICM42688P
@@ -96,6 +95,7 @@
9695

9796
#define ADC3_DMA_OPT 0
9897

98+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
9999
#define MAG_I2C_INSTANCE I2CDEV_1
100100
#define BARO_I2C_INSTANCE I2CDEV_1
101101
#define ADC_INSTANCE ADC3

configs/CLRACINGF7/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#define MANUFACTURER_ID CLRA
2828

2929
#define USE_GYRO
30-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3130
#define USE_GYRO_SPI_MPU6500
3231
#define USE_ACC
3332
#define USE_ACC_SPI_MPU6500
@@ -124,5 +123,6 @@
124123
#define GYRO_1_SPI_INSTANCE SPI1
125124
#define GYRO_2_SPI_INSTANCE SPI1
126125
#define GYRO_2_ALIGN CW90_DEG
126+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
127127
#define PINIO1_BOX 40
128128
//TODO #define MCO2_ON_PC9 ON

configs/DAKEFPVH743/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#define USE_ACC_SPI_MPU6000
3131
#define USE_ACC_SPI_ICM42688P
3232
#define USE_GYRO
33-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3433
#define USE_GYRO_SPI_MPU6000
3534
#define USE_GYRO_SPI_ICM42688P
3635

@@ -135,6 +134,7 @@
135134
#define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_ON
136135
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
137136
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
137+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
138138
#define DEFAULT_CURRENT_METER_SCALE 120
139139

140140
#define BEEPER_INVERTED

configs/DARWINH7DUAL/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#define MANUFACTURER_ID DAFP
2828

2929
#define USE_GYRO
30-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3130
#define USE_GYRO_SPI_MPU6000
3231
#define USE_GYRO_SPI_ICM42688P
3332
#define USE_ACC
@@ -113,6 +112,7 @@
113112
#define TIMUP4_DMA_OPT 12
114113
#define TIMUP5_DMA_OPT 13
115114

115+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
116116
#define MAG_I2C_INSTANCE I2CDEV_1
117117
#define BARO_I2C_INSTANCE I2CDEV_1
118118
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH

configs/DFR_F722_DUAL_HD/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#define USE_FLASH
3636
#define USE_FLASH_W25Q128FV
3737
#define USE_GYRO
38-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3938
#define USE_GYRO_SPI_ICM20689
4039
#define USE_GYRO_SPI_ICM42688P
4140
#define USE_MAX7456
@@ -104,6 +103,7 @@
104103

105104
#define ADC3_DMA_OPT 0
106105

106+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
107107
#define BARO_I2C_INSTANCE I2CDEV_2
108108
#define MAG_I2C_INSTANCE I2CDEV_2
109109

configs/EXF722DUAL/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#define USE_ACC
3030
#define USE_ACC_SPI_ICM20689
3131
#define USE_GYRO
32-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3332
#define USE_GYRO_SPI_ICM20689
3433
#define USE_BARO_BMP280
3534
#define USE_BARO_DPS310
@@ -101,6 +100,7 @@
101100

102101
#define ADC3_DMA_OPT 0
103102

103+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
104104
#define MAG_I2C_INSTANCE I2CDEV_2
105105
#define USE_BARO
106106
#define BARO_I2C_INSTANCE I2CDEV_2

configs/FLYWOOH743PRO/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#define USE_ACC
3030
#define USE_ACC_SPI_ICM42688P
3131
#define USE_GYRO
32-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3332
#define USE_GYRO_SPI_ICM42688P
3433
#define USE_BARO
3534
#define USE_BARO_BMP280
@@ -128,6 +127,7 @@
128127

129128
#define BARO_I2C_INSTANCE I2CDEV_2
130129
#define MAG_I2C_INSTANCE I2CDEV_1
130+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
131131
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
132132
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
133133
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC

configs/GEPRCF722_BT_HD/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#define USE_ACC
3030
#define USE_ACC_SPI_ICM20689
3131
#define USE_GYRO
32-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3332
#define USE_GYRO_SPI_ICM20689
3433
#define USE_ACCGYRO_BMI270
3534
#define USE_ACC_SPI_ICM42688P
@@ -99,6 +98,7 @@
9998

10099
#define ADC3_DMA_OPT 0
101100

101+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
102102
#define MAG_I2C_INSTANCE I2CDEV_2
103103
#define BARO_I2C_INSTANCE I2CDEV_2
104104
#define ADC_INSTANCE ADC3

configs/GEPRCF745_BT_HD/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#define USE_ACC_SPI_MPU6000
3131
#define USE_ACC_SPI_ICM42688P
3232
#define USE_GYRO
33-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3433
#define USE_GYRO_SPI_MPU6000
3534
#define USE_GYRO_SPI_ICM42688P
3635
#define USE_BARO
@@ -120,6 +119,7 @@
120119
#define SERIALRX_UART SERIAL_PORT_USART2
121120
#define MSP_UART SERIAL_PORT_USART3
122121

122+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
123123
#define MAG_I2C_INSTANCE I2CDEV_1
124124
#define BARO_I2C_INSTANCE I2CDEV_1
125125

configs/HAKRCF722V2/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#define MANUFACTURER_ID HARC
2828

2929
#define USE_GYRO
30-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3130
#define USE_GYRO_SPI_MPU6000
3231
#define USE_ACC
3332
#define USE_ACC_SPI_MPU6000
@@ -99,6 +98,7 @@
9998

10099
#define ADC3_DMA_OPT 0
101100

101+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
102102
#define MAG_I2C_INSTANCE I2CDEV_1
103103
#define USE_BARO
104104
#define BARO_I2C_INSTANCE I2CDEV_1

configs/IFLIGHT_F405_TWING/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#define MANUFACTURER_ID IFRC
2828

2929
#define USE_GYRO
30-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3130
#define USE_GYRO_SPI_ICM20689
3231
#define USE_ACC
3332
#define USE_ACC_SPI_ICM20689
@@ -93,6 +92,7 @@
9392

9493
#define ADC1_DMA_OPT 1
9594

95+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
9696
#define MAG_I2C_INSTANCE I2CDEV_1
9797
#define USE_BARO
9898
#define BARO_I2C_INSTANCE I2CDEV_1

configs/IFLIGHT_F722_TWING/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#define MANUFACTURER_ID IFRC
2828

2929
#define USE_GYRO
30-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3130
#define USE_GYRO_SPI_ICM20689
3231
#define USE_ACC
3332
#define USE_ACC_SPI_ICM20689
@@ -102,6 +101,7 @@
102101

103102
#define ADC3_DMA_OPT 0
104103

104+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
105105
#define USE_BARO
106106
#define BARO_I2C_INSTANCE I2CDEV_2
107107
#define MAG_I2C_INSTANCE I2CDEV_2

configs/IFLIGHT_H743_AIO_V2/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#define USE_BARO
3232
#define USE_BARO_BMP280
3333
#define USE_GYRO
34-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3534
#define USE_GYRO_SPI_MPU6000
3635
#define USE_ACCGYRO_BMI270
3736
#define USE_FLASH
@@ -113,6 +112,7 @@
113112
#define TIMUP5_DMA_OPT 0
114113
#define TIMUP8_DMA_OPT 0
115114

115+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
116116
#define MAG_I2C_INSTANCE I2CDEV_1
117117
#define BARO_I2C_INSTANCE I2CDEV_1
118118
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH

configs/IFLIGHT_H7_TWING/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#define MANUFACTURER_ID IFRC
2828

2929
#define USE_GYRO
30-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3130
#define USE_GYRO_SPI_ICM20689
3231
#define USE_ACC
3332
#define USE_ACC_SPI_ICM20689
@@ -110,6 +109,7 @@
110109
#define TIMUP5_DMA_OPT 0
111110
#define TIMUP8_DMA_OPT 4
112111

112+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
113113
#define MAG_I2C_INSTANCE I2CDEV_1
114114
#define USE_BARO
115115
#define BARO_I2C_INSTANCE I2CDEV_1

configs/JBF7/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#define MANUFACTURER_ID IFRC
2828

2929
#define USE_GYRO
30-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3130
#define USE_GYRO_SPI_MPU6500
3231
#define USE_ACC
3332
#define USE_ACC_SPI_MPU6500
@@ -101,6 +100,7 @@
101100

102101
#define ADC3_DMA_OPT 0
103102

103+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
104104
#define MAG_I2C_INSTANCE I2CDEV_2
105105
#define USE_BARO
106106
#define BARO_I2C_INSTANCE I2CDEV_2

configs/JBF7_DJI/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#define MANUFACTURER_ID IFRC
2828

2929
#define USE_GYRO
30-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3130
#define USE_GYRO_SPI_MPU6500
3231
#define USE_ACC
3332
#define USE_ACC_SPI_MPU6500
@@ -101,6 +100,7 @@
101100

102101
#define ADC3_DMA_OPT 0
103102

103+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
104104
#define MAG_I2C_INSTANCE I2CDEV_2
105105
#define USE_BARO
106106
#define BARO_I2C_INSTANCE I2CDEV_2

configs/JHEF722HD/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#define USE_ACCGYRO_BMI270
3232
#define USE_ACC_SPI_ICM42688P
3333
#define USE_GYRO
34-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3534
#define USE_GYRO_SPI_MPU6000
3635
#define USE_GYRO_SPI_ICM42688P
3736
#define USE_BARO
@@ -98,6 +97,7 @@
9897
TIMER_PIN_MAP( 8, PB3, 1, 0) \
9998

10099
#define ADC3_DMA_OPT 0
100+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
101101
#define MAG_I2C_INSTANCE I2CDEV_1
102102
#define BARO_I2C_INSTANCE I2CDEV_1
103103
#define ADC_INSTANCE ADC3

configs/JHEH743_HD/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#define USE_BARO
3131
#define USE_FLASH
3232
#define USE_GYRO
33-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3433

3534
#define USE_ACC_SPI_MPU6000
3635
#define USE_ACC_SPI_ICM42688P
@@ -132,6 +131,7 @@
132131
#define BARO_I2C_INSTANCE I2CDEV_1
133132

134133
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
134+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
135135
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
136136
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
137137
#define DEFAULT_CURRENT_METER_SCALE 170

configs/KONEXH743/config.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#define MANUFACTURER_ID KONX
2828

2929
#define USE_GYRO
30-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3130
#define USE_GYRO_CLKIN
3231
#define USE_ACC
3332
#define USE_GYRO_SPI_ICM42688P
@@ -155,3 +154,5 @@
155154

156155
#define GYRO_1_ALIGN CW90_DEG
157156
#define GYRO_2_ALIGN CW0_DEG
157+
158+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH

configs/MAMBAH743_2022B/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#define USE_ACC_SPI_MPU6000
3131
#define USE_ACC_SPI_ICM42688P
3232
#define USE_GYRO
33-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3433
#define USE_GYRO_SPI_MPU6000
3534
#define USE_GYRO_SPI_ICM42688P
3635
#define USE_BARO
@@ -133,6 +132,7 @@
133132
#define PINIO1_CONFIG 129
134133
#define PINIO1_BOX 0
135134
#define PINIO2_BOX 40
135+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
136136
#define GYRO_1_SPI_INSTANCE SPI1
137137
#define GYRO_1_ALIGN CW0_DEG
138138
#define GYRO_2_SPI_INSTANCE SPI4

configs/NBD_CRICKETF7V2/config.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828

2929
#define USE_ACC
3030
#define USE_GYRO
31-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3231
#define USE_ACCGYRO_BMI270
3332

3433
#define BEEPER_PIN PC15
@@ -75,6 +74,8 @@
7574

7675
#define ADC1_DMA_OPT 1
7776

77+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
78+
7879
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
7980
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
8081
#define BEEPER_INVERTED

configs/NBD_GALAXYAIO255/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#define MANUFACTURER_ID NEBD
2626

2727
#define USE_GYRO
28-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
2928
#define USE_ACC
3029
#define USE_ACCGYRO_BMI270
3130
#define USE_MAX7456
@@ -99,6 +98,7 @@
9998
#define TIMUP3_DMA_OPT 4
10099
#define TIMUP5_DMA_OPT 4
101100

101+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
102102
#define MAG_I2C_INSTANCE I2CDEV_1
103103
#define USE_BARO
104104
#define BARO_I2C_INSTANCE I2CDEV_2

configs/NBD_INFINITYAIOV2PRO/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#define MANUFACTURER_ID NEBD
2828

2929
#define USE_GYRO
30-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
3130
#define USE_ACC
3231
#define USE_ACCGYRO_BMI270
3332
#define USE_FLASH
@@ -84,6 +83,7 @@
8483

8584
#define ADC1_DMA_OPT 0
8685

86+
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
8787
#define MAG_I2C_INSTANCE I2CDEV_1
8888
#define BARO_I2C_INSTANCE I2CDEV_1
8989

0 commit comments

Comments
 (0)