summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-11-08 00:30:22 +0700
committerhathach <[email protected]>2025-11-08 00:30:22 +0700
commitb83b36b35438bd80f743945ef58f8189b1f701e0 (patch)
tree0bc453b4635b92c03d0849e03dc398bd3e751daa /src/common
parent652342b57b129a79e0df152377d18096e4a0fed5 (diff)
parent5d351828cbb077e41463a31d285ca001250e85da (diff)
Merge remote-tracking branch 'origin/fix-alerts-3' into fix-alerts-3
# Conflicts: # src/class/cdc/cdc_device.h # src/class/msc/msc_device.c # src/common/tusb_debug.h
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_debug.h b/src/common/tusb_debug.h
index 905dc239c..08117283f 100644
--- a/src/common/tusb_debug.h
+++ b/src/common/tusb_debug.h
@@ -76,7 +76,7 @@ TU_ATTR_ALWAYS_INLINE static inline void tu_print_buf(uint8_t const* buf, uint32
#define TU_LOG_FAILED() (void) tu_printf("%s: %d: Failed\r\n", __PRETTY_FUNCTION__, __LINE__)
// Log Level 1: Error
-#define TU_LOG1 (void) tu_printf
+#define TU_LOG1(...) (void) tu_printf(__VA_ARGS__)
#define TU_LOG1_MEM tu_print_mem
#define TU_LOG1_BUF(_x, _n) tu_print_buf((uint8_t const*)(_x), _n)
#define TU_LOG1_INT(_x) (void) tu_printf(#_x " = %ld\r\n", (unsigned long) (_x) )