Browse Source

AP_ToshibaCAN: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS

c415-sdk
Siddharth Purohit 4 years ago committed by Peter Barker
parent
commit
5d8a6d167f
  1. 2
      libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp

2
libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp

@ -31,7 +31,7 @@ @@ -31,7 +31,7 @@
extern const AP_HAL::HAL& hal;
#if HAL_ENABLE_LIBUAVCAN_DRIVERS
#if HAL_CANMANAGER_ENABLED
#define debug_can(level_debug, fmt, args...) do { AP::can().log_text(level_debug, "ToshibaCAN", fmt, #args); } while (0)
#else
#define debug_can(level_debug, fmt, args...)

Loading…
Cancel
Save