AP_HAL_SITL: use HAL_ENABLE_LIBUAVCAN_DRIVERS instead of HAL_MAX_CAN_PROTOCOL_DRIVERS

This commit is contained in:
Tom Pittenger 2021-05-19 00:29:24 -07:00 committed by Andrew Tridgell
parent 7a004656a2
commit aec9d45573
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ extern const AP_HAL::HAL& hal;
using namespace HALSITL;
#if HAL_MAX_CAN_PROTOCOL_DRIVERS
#if HAL_ENABLE_LIBUAVCAN_DRIVERS
#define Debug(fmt, args...) do { AP::can().log_text(AP_CANManager::LOG_DEBUG, "CANLinuxIface", fmt, ##args); } while (0)
#else
#define Debug(fmt, args...)