mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
HAL_ChibiOS: fixed mini-pix compass and baro probing
removed dup baro and fixed compass probe
This commit is contained in:
parent
2509b50852
commit
316e7cf7e6
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user