mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_KDECAN: AP::can().log_text() needs HAL_ENABLE_LIBUAVCAN_DRIVERS
This commit is contained in:
parent
4054b5e891
commit
c833a71fff
@ -35,7 +35,11 @@
|
||||
#if HAL_MAX_CAN_PROTOCOL_DRIVERS
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
#if HAL_ENABLE_LIBUAVCAN_DRIVERS
|
||||
#define debug_can(level_debug, fmt, args...) do { AP::can().log_text(level_debug, "KDECAN", fmt, ##args); } while (0)
|
||||
#else
|
||||
#define debug_can(level_debug, fmt, args...)
|
||||
#endif
|
||||
|
||||
#define DEFAULT_NUM_POLES 14
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user