Skip to content
Snippets Groups Projects
Commit f9961dde authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Optimize SERIAL_ECHOPAIR_F

parent 3348a7d2
Branches
Tags
No related merge requests found
......@@ -146,8 +146,8 @@ 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_ECHOLNPAIR_F(V...) do{ SERIAL_ECHOPAIR_F(V); SERIAL_EOL(); }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()
#define SERIAL_ERROR_START() serial_error_start()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment