HAL_ChibiOS: fixed the imu orientation of RadiolinkPIX6

This commit is contained in:
Wu 2024-08-14 09:42:56 +08:00 committed by Andrew Tridgell
parent 4ec023ac1a
commit a33a0d1579
1 changed files with 3 additions and 3 deletions

View File

@ -171,9 +171,9 @@ SPIDEV osd SPI2 DEVID2 AT7456_CS MODE0 10*MHZ 10*MHZ
SPIDEV ramtron SPI2 DEVID1 FRAM_CS MODE3 8*MHZ 8*MHZ
# up to 2 IMUs
IMU Invensensev3 SPI:imu2 ROTATION_YAW_90
IMU Invensensev3 SPI:imu2 ROTATION_PITCH_180_YAW_270
IMU BMI088 SPI:bmi088_a SPI:bmi088_g ROTATION_NONE
IMU BMI088 SPI:bmi088_a SPI:bmi088_g ROTATION_PITCH_180
define HAL_DEFAULT_INS_FAST_SAMPLE 1
@ -183,7 +183,7 @@ define HAL_PROBE_EXTERNAL_I2C_COMPASSES
# we need to stop the probe of an IST8310 as an internal compass with PITCH_180
define HAL_COMPASS_DISABLE_IST8310_INTERNAL_PROBE
COMPASS IST8310 I2C:ALL_INTERNAL:0x0E false ROTATION_ROLL_180
COMPASS IST8310 I2C:ALL_INTERNAL:0x0E false ROTATION_YAW_180
# one baro
BARO SPL06 I2C:0:0x76