mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_PiccoloCAN: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
This commit is contained in:
parent
895039cdce
commit
6d8972e63b
@ -40,7 +40,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, "PiccoloCAN", fmt, ##args); } while (0)
|
||||
#else
|
||||
#define debug_can(level_debug, fmt, args...)
|
||||
|
Loading…
Reference in New Issue
Block a user