Skip to content

Commit a2be0a0

Browse files
authored
Fix some IMU configurations (#792)
* Add GYRO_COUNT * Enable both gyros * Add SPEEDYBEEF7V3 * Add AOCODARCF7DUAL * Include dual gyro targets not using gyro_to_use * Corrections after review coderabbitai * Remove default setting * GYRO_COUNT resolved in firmware * GYRO_MASK resolved in firmware * cleanup
1 parent 4b9a515 commit a2be0a0

File tree

16 files changed

+0
-16
lines changed

16 files changed

+0
-16
lines changed

configs/CHONKERH735/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ Details: https://github.com/crteensy/yolo-chonker/tree/as-built-20230303
116116

117117
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
118118

119-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
120119
#define GYRO_1_ALIGN CW0_DEG_FLIP
121120
#define GYRO_2_ALIGN CW0_DEG_FLIP
122121

configs/EMAX_BABYHAWK_II_HD/config.h

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

8484
#define ADC1_DMA_OPT 1
8585

86-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
8786

8887
#define ADC_INSTANCE ADC1
8988
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_OFF

configs/FLYWOOF411/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,3 @@
105105
#define FLASH_SPI_INSTANCE SPI2
106106
#define GYRO_1_SPI_INSTANCE SPI1
107107
#define GYRO_1_ALIGN CW180_DEG
108-
#define GYRO_2_SPI_INSTANCE SPI1

configs/HGLRCF405/config.h

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

9393
#define ADC2_DMA_OPT 1
9494

95-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
9695
#define MAG_ALIGN DEFAULT
9796
#define MAG_I2C_INSTANCE I2CDEV_1
9897

configs/HGLRCF745/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@
101101
#define SPI4_TX_DMA_OPT 0
102102
#define ADC1_DMA_OPT 1
103103

104-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
105104
#define BARO_SPI_INSTANCE SPI1
106105
#define ADC_INSTANCE ADC1
107106
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD

configs/MATEKF722HD/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,3 @@
139139
#define CAMERA_CONTROL_MODE HARDWARE_PWM
140140

141141
#define ENSURE_MPU_DATA_READY_IS_LOW
142-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1

configs/MATEKH743/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,5 @@
164164
#define GYRO_1_ALIGN CW0_DEG_FLIP
165165
#define GYRO_2_SPI_INSTANCE SPI4
166166
#define GYRO_2_ALIGN CW0_DEG_FLIP
167-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
168167

169168
#define ENSURE_MPU_DATA_READY_IS_LOW

configs/MERAKRCF722/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,3 @@
9797
#define MAX7456_SPI_INSTANCE SPI3
9898
#define FLASH_SPI_INSTANCE SPI1
9999
#define GYRO_1_SPI_INSTANCE SPI2
100-
#define GYRO_2_SPI_INSTANCE SPI2

configs/SAKURAH743/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@
197197
#define BARO_SPI_INSTANCE SPI1
198198

199199
//default serial mapping
200-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
201200
#define USE_I2C_PULLUP
202201
#define MSP_UART SERIAL_PORT_USART1
203202
#define MSP_DISPLAYPORT_UART SERIAL_PORT_USART6

configs/SPRACINGH7NANO/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@
229229
#define USE_BARO
230230
#define BARO_I2C_INSTANCE I2CDEV_1
231231

232-
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
233232
#define GYRO_1_SPI_INSTANCE SPI2
234233
#define GYRO_1_ALIGN CW0_DEG_FLIP
235234
#define GYRO_2_SPI_INSTANCE SPI3

0 commit comments

Comments
 (0)