AP_HAL: add param defaults for EMLID_EDGE for GPS_TYPE=9 and CAN_DRIVER=1
This commit is contained in:
parent
8369f125ce
commit
a2f1f63ab3
@ -236,9 +236,18 @@
|
||||
#define HAL_INS_DEFAULT HAL_INS_NONE
|
||||
#endif
|
||||
|
||||
#ifndef HAL_GPS_TYPE_DEFAULT
|
||||
#define HAL_GPS_TYPE_DEFAULT 1
|
||||
#endif
|
||||
|
||||
#ifndef HAL_CAN_DRIVER_DEFAULT
|
||||
#define HAL_CAN_DRIVER_DEFAULT 0
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBDL
|
||||
#define AP_MODULE_SUPPORTED 1
|
||||
#else
|
||||
#define AP_MODULE_SUPPORTED 0
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -384,6 +384,8 @@
|
||||
#define HAL_LINUX_HEAT_KP 20000
|
||||
#define HAL_LINUX_HEAT_KI 6
|
||||
#define HAL_LINUX_HEAT_PERIOD_NS 2040816
|
||||
#define HAL_GPS_TYPE_DEFAULT 9
|
||||
#define HAL_CAN_DRIVER_DEFAULT 1
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_RST_ZYNQ
|
||||
#define HAL_BOARD_LOG_DIRECTORY "/mnt/APM/logs"
|
||||
#define HAL_BOARD_TERRAIN_DIRECTORY "/mnt/APM/terrain"
|
||||
|
Loading…
Reference in New Issue
Block a user