From 26ca2dd392d9ab5b85279c94baabd7a649f306a0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 4 Nov 2016 17:58:08 +1100 Subject: [PATCH] AP_HAL: added more px4 SPI device names --- libraries/AP_HAL/board/px4.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libraries/AP_HAL/board/px4.h b/libraries/AP_HAL/board/px4.h index c6ccbe0520..ecd703c613 100644 --- a/libraries/AP_HAL/board/px4.h +++ b/libraries/AP_HAL/board/px4.h @@ -37,8 +37,15 @@ #define HAL_BARO_MS5611_SPI_EXT_NAME "ms5611_ext" #define HAL_INS_MPU60x0_NAME "mpu6000" +#define HAL_INS_MPU60x0_EXT_NAME "mpu6000_ext" + #define HAL_INS_LSM9DS0_G_NAME "lsm9ds0_g" #define HAL_INS_LSM9DS0_A_NAME "lsm9ds0_am" +#define HAL_INS_LSM9DS0_EXT_G_NAME "lsm9ds0_ext_g" +#define HAL_INS_LSM9DS0_EXT_A_NAME "lsm9ds0_ext_am" + #define HAL_INS_MPU9250_NAME "mpu9250" #define HAL_INS_MPU9250_EXT_NAME "mpu9250_ext" + +#define HAL_COMPASS_HMC5843_NAME "hmc5843"