diff options
| author | Ha Thach <[email protected]> | 2025-11-09 00:26:04 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-09 00:26:04 +0700 |
| commit | 96f35fc0a559aa09da70e0dede5a43081615723f (patch) | |
| tree | 8ed03653c36a3c9e84c9463aa729d1de4d3af2d7 /src/common/tusb_debug.h | |
| parent | 91c3a4fa8d1a88880f262b2a3a227374128de3f3 (diff) | |
| parent | 7f173ab5ed6a80a5fd6780779fe63fb97d2be0e9 (diff) | |
Merge pull request #3334 from hathach/fix-alerts-3
Fix more code alerts
Diffstat (limited to 'src/common/tusb_debug.h')
| -rw-r--r-- | src/common/tusb_debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_debug.h b/src/common/tusb_debug.h index a7bf3e959..e0e09f5ce 100644 --- a/src/common/tusb_debug.h +++ b/src/common/tusb_debug.h @@ -56,7 +56,7 @@ void tu_print_mem(void const *buf, uint32_t count, uint8_t indent); #define tu_printf CFG_TUSB_DEBUG_PRINTF #else #include <stdio.h> - #define tu_printf printf + #define tu_printf(...) (void) printf(__VA_ARGS__) #endif TU_ATTR_ALWAYS_INLINE static inline void tu_print_buf(uint8_t const* buf, uint32_t bufsize) { |
