AP_HAL: Use HAL_ENABLE_CANMANAGER instead of HAL_ENABLE_LIBUAVCAN_DRIVERS

This commit is contained in:
Siddharth Purohit 2021-06-20 15:57:48 +05:30 committed by Andrew Tridgell
parent fc1bc6b852
commit 17459128bf

View File

@ -224,8 +224,8 @@
#endif
#endif
#ifndef HAL_ENABLE_LIBUAVCAN_DRIVERS
#define HAL_ENABLE_LIBUAVCAN_DRIVERS (HAL_MAX_CAN_PROTOCOL_DRIVERS > 0) && !defined(HAL_BUILD_AP_PERIPH)
#ifndef HAL_ENABLE_CANMANAGER
#define HAL_ENABLE_CANMANAGER (HAL_MAX_CAN_PROTOCOL_DRIVERS > 0) && !defined(HAL_BUILD_AP_PERIPH)
#endif
#ifdef HAVE_LIBDL