Browse Source

Optimize SERIAL_ECHOPAIR_F

pull/1/head
Scott Lahteine 5 years ago
parent
commit
f9961ddebb
  1. 2
      Marlin/src/core/serial.h

2
Marlin/src/core/serial.h

@ -146,7 +146,7 @@ extern uint8_t marlin_debug_flags;
#define SERIAL_ECHOPGM(S) (serialprintPGM(PSTR(S)))
#define SERIAL_ECHOLNPGM(S) (serialprintPGM(PSTR(S "\n")))
#define SERIAL_ECHOPAIR_F(pre, V...) do{ SERIAL_ECHO(pre); SERIAL_ECHO_F(V); }while(0)
#define SERIAL_ECHOPAIR_F(S, V...) do{ SERIAL_ECHOPGM(S); SERIAL_ECHO_F(V); }while(0)
#define SERIAL_ECHOLNPAIR_F(V...) do{ SERIAL_ECHOPAIR_F(V); SERIAL_EOL(); }while(0)
#define SERIAL_ECHO_START() serial_echo_start()

Loading…
Cancel
Save