AP_ToshibaCAN: fixed printf format errors
This commit is contained in:
parent
3712d7eca5
commit
c4d05b3f3a
@ -32,7 +32,7 @@
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
#if HAL_CANMANAGER_ENABLED
|
||||
#define debug_can(level_debug, fmt, args...) do { AP::can().log_text(level_debug, "ToshibaCAN", fmt, #args); } while (0)
|
||||
#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...)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user