Przeglądaj źródła

Tweak SERIAL_PRINTF

Scott Lahteine 5 lat temu
rodzic
commit
388babbcea
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      Marlin/src/core/serial.h

+ 1
- 1
Marlin/src/core/serial.h Wyświetl plik

@@ -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

Ładowanie…
Anuluj
Zapisz