Browse Source

AP_ToshibaCAN: fixed printf format errors

gps-1.3.1
Andrew Tridgell 4 years ago
parent
commit
c4d05b3f3a
  1. 2
      libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp

2
libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp

@ -32,7 +32,7 @@ @@ -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…
Cancel
Save