瀏覽代碼

Tweak SERIAL_PRINTF

Scott Lahteine 5 年之前
父節點
當前提交
388babbcea
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/src/core/serial.h

+ 1
- 1
Marlin/src/core/serial.h 查看文件

@@ -67,7 +67,7 @@ extern uint8_t marlin_debug_flags;
67 67
 #define SERIAL_ECHOLN(x)        SERIAL_OUT(println, x)
68 68
 #define SERIAL_PRINT(x,b)       SERIAL_OUT(print, x, b)
69 69
 #define SERIAL_PRINTLN(x,b)     SERIAL_OUT(println, x, b)
70
-#define SERIAL_PRINTF(args...)  SERIAL_OUT(printf, args)
70
+#define SERIAL_PRINTF(...)      SERIAL_OUT(printf, __VA_ARGS__)
71 71
 #define SERIAL_FLUSH()          SERIAL_OUT(flush)
72 72
 
73 73
 #if TX_BUFFER_SIZE > 0

Loading…
取消
儲存