AP_HAL: Fix navigator orientation

This commit is contained in:
Willian Galvani 2020-02-05 10:57:34 -03:00 committed by Jacob Walser
parent 70cb2822e5
commit 9c8d14e500

View File

@ -177,8 +177,8 @@
#define HAL_RANGEFINDER_LIGHTWARE_I2C_BUS 2
#define HAL_WITH_UAVCAN 1
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIGATOR
#define HAL_INS_PROBE_LIST PROBE_IMU_SPI(LSM9DS1, "lsm9ds1_ag", ROTATION_ROLL_180_YAW_270)
#define HAL_MAG_PROBE_LIST PROBE_MAG_SPI(LSM9DS1, "lsm9ds1_m", ROTATION_PITCH_180_YAW_270)
#define HAL_INS_PROBE_LIST PROBE_IMU_SPI(LSM9DS1, "lsm9ds1_ag", ROTATION_PITCH_180)
#define HAL_MAG_PROBE_LIST PROBE_MAG_SPI(LSM9DS1, "lsm9ds1_m", ROTATION_NONE)
#define HAL_BARO_PROBE_LIST PROBE_BARO_SPI(BMP280, "bmp280")
#define HAL_BATT_CURR_PIN 0
#define HAL_BATT_CURR_SCALE 1