Skip to content

Commit

Permalink
Update GEPRCF745_BT_HD
Browse files Browse the repository at this point in the history
Some Baro and Mag were added, the default UART was configured, and the orientation of the No. 1 gyroscope was changed.
  • Loading branch information
YI-BOYANG authored Jun 25, 2024
1 parent 932b5c6 commit 66ba16b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions configs/GEPRCF745_BT_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
#define USE_BARO
#define USE_BARO_BMP280
#define USE_BARO_DPS310
#define USE_BARO_MS5611
#define USE_MAG
#define USE_MAG_QMC5883
#define USE_MAG_IST8310
#define USE_SDCARD
#define USE_MAX7456

Expand Down Expand Up @@ -109,6 +113,10 @@

#define ADC1_DMA_OPT 0

#define MSP_DISPLAYPORT_UART SERIAL_PORT_USART1
#define SERIALRX_UART SERIAL_PORT_USART2
#define MSP_UART SERIAL_PORT_USART3

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
#define MAG_I2C_INSTANCE (I2CDEV_1)
#define BARO_I2C_INSTANCE (I2CDEV_1)
Expand All @@ -128,7 +136,6 @@
#define PINIO4_BOX 42
#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_1_ALIGN CW180_DEG
#define GYRO_2_SPI_INSTANCE SPI2
#define MAX7456_SPI_INSTANCE SPI4

0 comments on commit 66ba16b

Please sign in to comment.