From bbf4805b0e90b02f976918344ea9a9110ec00e1b Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 11 Jul 2014 11:10:18 +0900 Subject: [PATCH] Compass: update pixhawk expected device ids --- libraries/AP_Compass/Compass.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Compass/Compass.h b/libraries/AP_Compass/Compass.h index 312f0172e4..2144234c9a 100644 --- a/libraries/AP_Compass/Compass.h +++ b/libraries/AP_Compass/Compass.h @@ -54,8 +54,8 @@ // default compass device ids for each board type to most common set-up to reduce eeprom usage #if CONFIG_HAL_BOARD == HAL_BOARD_PX4 -# define COMPASS_EXPECTED_DEV_ID 0x011E0101 // external hmc5883 -# define COMPASS_EXPECTED_DEV_ID2 0x02020102 // internal ldm303d +# define COMPASS_EXPECTED_DEV_ID 73225 // external hmc5883 +# define COMPASS_EXPECTED_DEV_ID2 -1 // internal ldm303d # define COMPASS_EXPECTED_DEV_ID3 0 #elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX # define COMPASS_EXPECTED_DEV_ID 0