From 388babbcea0bae7fc5653c01a4f220fd03a6b02b Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 11 Mar 2019 20:58:06 -0500 Subject: [PATCH] Tweak SERIAL_PRINTF --- Marlin/src/core/serial.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/core/serial.h b/Marlin/src/core/serial.h index b67362821c..b9af72aea5 100644 --- a/Marlin/src/core/serial.h +++ b/Marlin/src/core/serial.h @@ -67,7 +67,7 @@ extern uint8_t marlin_debug_flags; #define SERIAL_ECHOLN(x) SERIAL_OUT(println, x) #define SERIAL_PRINT(x,b) SERIAL_OUT(print, x, b) #define SERIAL_PRINTLN(x,b) SERIAL_OUT(println, x, b) -#define SERIAL_PRINTF(args...) SERIAL_OUT(printf, args) +#define SERIAL_PRINTF(...) SERIAL_OUT(printf, __VA_ARGS__) #define SERIAL_FLUSH() SERIAL_OUT(flush) #if TX_BUFFER_SIZE > 0