Skip to content

Commit

Permalink
Update GEPRCF745_BT_HD (#309)
Browse files Browse the repository at this point in the history
* Update GEPRCF745_BT_HD

* Update config.h

---------

Co-authored-by: Mark Haslinghuis <[email protected]>
  • Loading branch information
YI-BOYANG and haslinghuis authored Jan 22, 2024
1 parent 1df3855 commit 1955e3c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion configs/GEPRCF745_BT_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,16 @@
#define MANUFACTURER_ID GEPR

#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define USE_ACC_SPI_ICM42688P
#define USE_GYRO
#define USE_GYRO_SPI_MPU6000
#define USE_GYRO_SPI_ICM42688P
#define USE_BARO
#define USE_BARO_BMP280
#define USE_BARO_DPS310
#define USE_SDCARD
#define USE_MAX7456

#define BEEPER_PIN PD2
#define MOTOR1_PIN PB0
Expand Down Expand Up @@ -104,6 +111,7 @@

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
#define MAG_I2C_INSTANCE (I2CDEV_1)
#define BARO_I2C_INSTANCE (I2CDEV_1)

//TODO #define BLACKBOX_SAMPLE_RATE 1/1
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
Expand All @@ -119,8 +127,8 @@
#define PINIO3_BOX 41
#define PINIO4_BOX 42
#define FLASH_SPI_INSTANCE SPI3
#define USE_SPI_GYRO
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
#define GYRO_2_SPI_INSTANCE SPI2
#define MAX7456_SPI_INSTANCE SPI4

0 comments on commit 1955e3c

Please sign in to comment.