From c4d05b3f3ad49e71b7a9bce5eb771a14e70c9951 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 4 Aug 2021 12:44:31 +1000 Subject: [PATCH] AP_ToshibaCAN: fixed printf format errors --- libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp b/libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp index 5d510c29bc..0e5e7aad3b 100644 --- a/libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp +++ b/libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp @@ -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