Browse Source

AP_HAL: split into HAL_CANMANAGER_ENABLED and HAL_ENABLE_LIBUAVCAN_DRIVERS

c415-sdk
Siddharth Purohit 4 years ago committed by Peter Barker
parent
commit
c7185a1e7f
  1. 8
      libraries/AP_HAL/AP_HAL_Boards.h

8
libraries/AP_HAL/AP_HAL_Boards.h

@ -224,8 +224,12 @@ @@ -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…
Cancel
Save