mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: consolidate AK8963 defines
This commit is contained in:
parent
0efd3bacea
commit
d186b82edc
|
@ -78,7 +78,7 @@
|
||||||
#define HAL_COMPASS_PX4 2
|
#define HAL_COMPASS_PX4 2
|
||||||
#define HAL_COMPASS_HIL 3
|
#define HAL_COMPASS_HIL 3
|
||||||
#define HAL_COMPASS_VRBRAIN 4
|
#define HAL_COMPASS_VRBRAIN 4
|
||||||
#define HAL_COMPASS_AK8963 5
|
#define HAL_COMPASS_AK8963_MPU9250 5
|
||||||
|
|
||||||
/**
|
/**
|
||||||
CPU classes, used to select if CPU intensive algorithms should be used
|
CPU classes, used to select if CPU intensive algorithms should be used
|
||||||
|
@ -206,7 +206,7 @@
|
||||||
#define HAL_BOARD_LOG_DIRECTORY "/var/APM/logs"
|
#define HAL_BOARD_LOG_DIRECTORY "/var/APM/logs"
|
||||||
#define HAL_INS_DEFAULT HAL_INS_MPU9250
|
#define HAL_INS_DEFAULT HAL_INS_MPU9250
|
||||||
#define HAL_BARO_DEFAULT HAL_BARO_MS5611
|
#define HAL_BARO_DEFAULT HAL_BARO_MS5611
|
||||||
#define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963
|
#define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_MPU9250
|
||||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ZYNQ
|
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ZYNQ
|
||||||
#define HAL_BOARD_LOG_DIRECTORY "/var/APM/logs"
|
#define HAL_BOARD_LOG_DIRECTORY "/var/APM/logs"
|
||||||
#define HAL_BOARD_TERRAIN_DIRECTORY "/var/APM/terrain"
|
#define HAL_BOARD_TERRAIN_DIRECTORY "/var/APM/terrain"
|
||||||
|
@ -219,7 +219,7 @@
|
||||||
#define HAL_BOARD_TERRAIN_DIRECTORY "/var/APM/terrain"
|
#define HAL_BOARD_TERRAIN_DIRECTORY "/var/APM/terrain"
|
||||||
#define HAL_INS_DEFAULT HAL_INS_MPU9250
|
#define HAL_INS_DEFAULT HAL_INS_MPU9250
|
||||||
#define HAL_BARO_DEFAULT HAL_BARO_MS5611_SPI
|
#define HAL_BARO_DEFAULT HAL_BARO_MS5611_SPI
|
||||||
#define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963
|
#define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_MPU9250
|
||||||
#else
|
#else
|
||||||
#error "no Linux board subtype set"
|
#error "no Linux board subtype set"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue