AP_HAL: added defaults offsets max for disco

This commit is contained in:
Andrew Tridgell 2017-03-31 18:53:29 +11:00
parent 2ed63d24bd
commit 7cd290af9b

View File

@ -117,7 +117,7 @@
#define HAL_FLOW_PX4_FOCAL_LENGTH_MILLIPX (2.21 / (3.6 * 2.0 * 240 / 64))
#define HAL_RANGEFINDER_LIGHTWARE_I2C_BUS 0
// the disco has challenges with its magnetic setup
#define AP_ARMING_COMPASS_OFFSETS_MAX 2200
#define AP_COMPASS_OFFSETS_MAX_DEFAULT 2200
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_MINLURE
#define HAL_BOARD_LOG_DIRECTORY "/var/APM/logs"
#define HAL_BOARD_TERRAIN_DIRECTORY "/var/APM/terrain"