Browse Source

AP_HAL_Linux: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS

c415-sdk
Siddharth Purohit 4 years ago committed by Peter Barker
parent
commit
35344d1aef
  1. 2
      libraries/AP_HAL_Linux/CANSocketIface.cpp

2
libraries/AP_HAL_Linux/CANSocketIface.cpp

@ -45,7 +45,7 @@ extern const AP_HAL::HAL& hal; @@ -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...)

Loading…
Cancel
Save