Parcourir la source

Tweak SERIAL_PRINTF

Scott Lahteine il y a 5 ans
Parent
révision
388babbcea
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      Marlin/src/core/serial.h

+ 1
- 1
Marlin/src/core/serial.h Voir le fichier

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

Chargement…
Annuler
Enregistrer