mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_SITL: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
This commit is contained in:
parent
9ed015f1c7
commit
5014c65276
|
@ -45,7 +45,7 @@ extern const AP_HAL::HAL& hal;
|
|||
|
||||
using namespace HALSITL;
|
||||
|
||||
#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...)
|
||||
|
|
Loading…
Reference in New Issue