mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_HAL: split into HAL_CANMANAGER_ENABLED and HAL_ENABLE_LIBUAVCAN_DRIVERS
This commit is contained in:
parent
17459128bf
commit
c640f0d3d9
@ -224,8 +224,12 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef HAL_ENABLE_CANMANAGER
|
||||
#define HAL_ENABLE_CANMANAGER (HAL_MAX_CAN_PROTOCOL_DRIVERS > 0) && !defined(HAL_BUILD_AP_PERIPH)
|
||||
#ifndef HAL_CANMANAGER_ENABLED
|
||||
#define HAL_CANMANAGER_ENABLED ((HAL_MAX_CAN_PROTOCOL_DRIVERS > 0) && !defined(HAL_BUILD_AP_PERIPH))
|
||||
#endif
|
||||
|
||||
#ifndef HAL_ENABLE_LIBUAVCAN_DRIVERS
|
||||
#define HAL_ENABLE_LIBUAVCAN_DRIVERS HAL_CANMANAGER_ENABLED
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBDL
|
||||
|
Loading…
Reference in New Issue
Block a user