AP_HAL_Linux: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS

This commit is contained in:
Siddharth Purohit 2021-06-20 15:58:53 +05:30 committed by Andrew Tridgell
parent f8d313cfd6
commit 9ed015f1c7
1 changed files with 1 additions and 1 deletions

View File

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