mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: fixed build for HerePro
This commit is contained in:
parent
baa7301977
commit
d8416eb38f
|
@ -245,11 +245,13 @@
|
|||
#define HAL_HAVE_DUAL_USB_CDC 0
|
||||
#endif
|
||||
|
||||
#if HAL_NUM_CAN_IFACES && CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS && !defined(AP_CAN_SLCAN_ENABLED)
|
||||
#ifndef AP_CAN_SLCAN_ENABLED
|
||||
#if HAL_NUM_CAN_IFACES && CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
|
||||
#define AP_CAN_SLCAN_ENABLED 1
|
||||
#else
|
||||
#define AP_CAN_SLCAN_ENABLED 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef USE_LIBC_REALLOC
|
||||
#define USE_LIBC_REALLOC 1
|
||||
|
|
Loading…
Reference in New Issue