Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update config.h TAKERG4AIO #500

Merged
merged 2 commits into from
Jul 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions configs/TAKERG4AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@
#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
#ifndef USE_MAG
#define USE_MAG
#define USE_MAG_QMC5883
#define USE_MAG_IST8310
Greypang marked this conversation as resolved.
Show resolved Hide resolved
#endif

#define BEEPER_PIN PA15
#define MOTOR1_PIN PA0
Expand Down Expand Up @@ -101,3 +112,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