소스 검색

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
 #define SERIAL_ECHOLN(x)        SERIAL_OUT(println, x)
67
 #define SERIAL_ECHOLN(x)        SERIAL_OUT(println, x)
68
 #define SERIAL_PRINT(x,b)       SERIAL_OUT(print, x, b)
68
 #define SERIAL_PRINT(x,b)       SERIAL_OUT(print, x, b)
69
 #define SERIAL_PRINTLN(x,b)     SERIAL_OUT(println, x, b)
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
 #define SERIAL_FLUSH()          SERIAL_OUT(flush)
71
 #define SERIAL_FLUSH()          SERIAL_OUT(flush)
72
 
72
 
73
 #if TX_BUFFER_SIZE > 0
73
 #if TX_BUFFER_SIZE > 0

Loading…
취소
저장