AP_ToshibaCAN: fixed printf format errors

This commit is contained in:
Andrew Tridgell 2021-08-04 12:44:31 +10:00
parent 3712d7eca5
commit c4d05b3f3a
1 changed files with 1 additions and 1 deletions

View File

@ -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