mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -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
|
# one IMU
|
||||||
IMU Invensense SPI:mpu6000 ROTATION_PITCH_180
|
IMU Invensense SPI:mpu6000 ROTATION_PITCH_180
|
||||||
|
|
||||||
# one baro
|
# one internal compass, plus external probe
|
||||||
BARO LPS2XH SPI:lps22h
|
COMPASS QMC5883L I2C:0:0x0D false ROTATION_PITCH_180_YAW_270
|
||||||
|
|
||||||
# the mini-pix has a QMC5883L both internal and external, detected
|
|
||||||
# using HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
|
||||||
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
||||||
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
|
define HAL_I2C_INTERNAL_MASK 1
|
||||||
define HAL_COMPASS_QMC5883L_ORIENTATION_INTERNAL ROTATION_PITCH_180_YAW_270
|
|
||||||
|
|
||||||
define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
||||||
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
|
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
|
||||||
|
Loading…
Reference in New Issue
Block a user