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