HAL_ChibiOS: fixed mini-pix compass and baro probing

removed dup baro and fixed compass probe
This commit is contained in:
Andrew Tridgell 2019-09-02 08:15:09 +10:00
parent 2509b50852
commit 316e7cf7e6
1 changed files with 3 additions and 7 deletions

View File

@ -123,14 +123,10 @@ BARO LPS2XH SPI:lps22h
# one IMU
IMU Invensense SPI:mpu6000 ROTATION_PITCH_180
# one baro
BARO LPS2XH SPI:lps22h
# the mini-pix has a QMC5883L both internal and external, detected
# using HAL_PROBE_EXTERNAL_I2C_COMPASSES
# one internal compass, plus external probe
COMPASS QMC5883L I2C:0:0x0D false ROTATION_PITCH_180_YAW_270
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_COMPASS_QMC5883L_ORIENTATION_INTERNAL ROTATION_PITCH_180_YAW_270
define HAL_I2C_INTERNAL_MASK 1
define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"