AP_HAL: split into HAL_CANMANAGER_ENABLED and HAL_ENABLE_LIBUAVCAN_DRIVERS
This commit is contained in:
parent
5acce3055f
commit
c7185a1e7f
@ -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