Optimize SERIAL_ECHOPAIR_F
This commit is contained in:
parent
3348a7d223
commit
f9961ddebb
@ -146,8 +146,8 @@ extern uint8_t marlin_debug_flags;
|
|||||||
#define SERIAL_ECHOPGM(S) (serialprintPGM(PSTR(S)))
|
#define SERIAL_ECHOPGM(S) (serialprintPGM(PSTR(S)))
|
||||||
#define SERIAL_ECHOLNPGM(S) (serialprintPGM(PSTR(S "\n")))
|
#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_ECHOLNPAIR_F(V...) do{ SERIAL_ECHOPAIR_F(V); SERIAL_EOL(); }while(0)
|
||||||
|
|
||||||
#define SERIAL_ECHO_START() serial_echo_start()
|
#define SERIAL_ECHO_START() serial_echo_start()
|
||||||
#define SERIAL_ERROR_START() serial_error_start()
|
#define SERIAL_ERROR_START() serial_error_start()
|
||||||
|
Loading…
Reference in New Issue
Block a user