Skip to content

Commit

Permalink
Update config.h TAKERG4AIO
Browse files Browse the repository at this point in the history
Defines the I2C instance for mag and Baro, And added some Baro and Mag
  • Loading branch information
Greypang authored Jul 18, 2024
1 parent a8dd16a commit 600f3b8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions configs/TAKERG4AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@
#define USE_FLASH
#define USE_FLASH_W25Q128FV
#define USE_MAX7456
// Added to enable barometer and specify types
#define USE_BARO
#define USE_BARO_BMP280
#define USE_BARO_DPS310
#define USE_BARO_MS5611
// Added to enable magnetometer and specify types
#define USE_MAG
#define USE_MAG_QMC5883
#define USE_MAG_IST8310

#define BEEPER_PIN PA15
#define MOTOR1_PIN PA0
Expand Down Expand Up @@ -101,3 +110,7 @@

#define DEFAULT_ALIGN_BOARD_YAW 45
#define GYRO_1_ALIGN CW270_DEG

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define BARO_I2C_INSTANCE (I2CDEV_1)
// Defines the I2C instance for magnetometer and barometer

0 comments on commit 600f3b8

Please sign in to comment.