Compass: update pixhawk expected device ids

This commit is contained in:
Randy Mackay 2014-07-11 11:10:18 +09:00
parent c9f3adcb5c
commit bbf4805b0e
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@
// default compass device ids for each board type to most common set-up to reduce eeprom usage // default compass device ids for each board type to most common set-up to reduce eeprom usage
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 #if CONFIG_HAL_BOARD == HAL_BOARD_PX4
# define COMPASS_EXPECTED_DEV_ID 0x011E0101 // external hmc5883 # define COMPASS_EXPECTED_DEV_ID 73225 // external hmc5883
# define COMPASS_EXPECTED_DEV_ID2 0x02020102 // internal ldm303d # define COMPASS_EXPECTED_DEV_ID2 -1 // internal ldm303d
# define COMPASS_EXPECTED_DEV_ID3 0 # define COMPASS_EXPECTED_DEV_ID3 0
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX #elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
# define COMPASS_EXPECTED_DEV_ID 0 # define COMPASS_EXPECTED_DEV_ID 0