summaryrefslogtreecommitdiff
path: root/tmk_core/common/print.h
diff options
context:
space:
mode:
authormtei <2170248+mtei@users.noreply.github.com>2018-10-05 14:54:22 +0900
committerJack Humbert <jack.humb@gmail.com>2018-11-27 14:40:19 -0500
commit90f9fb4eee0da25e5408e54ed872c6da2a40c5f3 (patch)
tree04e26740ca568094ab0905a6ebc5f55022b87e36 /tmk_core/common/print.h
parent77ed9e3a7305b1921d079e2facfb8e6d3d137e19 (diff)
downloadqmk_firmware-90f9fb4eee0da25e5408e54ed872c6da2a40c5f3.tar.gz
qmk_firmware-90f9fb4eee0da25e5408e54ed872c6da2a40c5f3.zip
Fixed docs/newbs_testing_debugging.md and tmk_core/common/print.h
Diffstat (limited to 'tmk_core/common/print.h')
-rw-r--r--tmk_core/common/print.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tmk_core/common/print.h b/tmk_core/common/print.h
index 06c6cbd7f1..2d7184bd0d 100644
--- a/tmk_core/common/print.h
+++ b/tmk_core/common/print.h
@@ -60,7 +60,7 @@
# define println(s) xputs(PSTR(s "\r\n"))
# define uprint(s) print(s)
# define uprintln(s) println(s)
-# define uprintf(fmt, ...) xprintf(fmt, ...)
+# define uprintf(fmt, ...) xprintf(fmt, ##__VA_ARGS__)
# endif /* USER_PRINT / NORMAL PRINT */
@@ -125,7 +125,7 @@ void print_set_sendchar(int8_t (*print_sendchar_func)(uint8_t));
# define println(s) xprintf(s "\r\n")
# define uprint(s) print(s)
# define uprintln(s) println(s)
-# define uprintf(fmt, ...) xprintf(fmt, ...)
+# define uprintf(fmt, ...) xprintf(fmt, ##__VA_ARGS__)
# endif /* USER_PRINT / NORMAL PRINT */
@@ -141,19 +141,19 @@ void print_set_sendchar(int8_t (*print_sendchar_func)(uint8_t));
# define xprintf(fmt, ...)
// Create user print defines
-# define uprintf(fmt, ...) __xprintf(fmt, ...)
+# define uprintf(fmt, ...) __xprintf(fmt, ##__VA_ARGS__)
# define uprint(s) xprintf(s)
# define uprintln(s) xprintf(s "\r\n")
# else /* NORMAL PRINT */
// Create user & normal print defines
-# define xprintf(fmt, ...) __xprintf(fmt, ...)
+# define xprintf(fmt, ...) __xprintf(fmt, ##__VA_ARGS__)
# define print(s) xprintf(s)
# define println(s) xprintf(s "\r\n")
# define uprint(s) print(s)
# define uprintln(s) println(s)
-# define uprintf(fmt, ...) xprintf(fmt, ...)
+# define uprintf(fmt, ...) xprintf(fmt, ##__VA_ARGS__)
# endif /* USER_PRINT / NORMAL PRINT */