mirror of https://github.com/ArduPilot/ardupilot
Compass: update pixhawk expected device ids
This commit is contained in:
parent
c9f3adcb5c
commit
bbf4805b0e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue