Optimize some serial strings
This commit is contained in:
parent
9644fe1839
commit
1dcfe193ac
6 changed files with 13 additions and 13 deletions
|
|
@ -286,13 +286,13 @@ void GCodeParser::unknown_command_error() {
|
|||
SERIAL_ECHO(codenum);
|
||||
SERIAL_ECHOLNPGM(")");
|
||||
#if ENABLED(FASTER_GCODE_PARSER)
|
||||
SERIAL_ECHO(" args: \"");
|
||||
SERIAL_ECHOPGM(" args: \"");
|
||||
for (char c = 'A'; c <= 'Z'; ++c)
|
||||
if (seen(c)) { SERIAL_CHAR(c); SERIAL_CHAR(' '); }
|
||||
#else
|
||||
SERIAL_ECHOPAIR(" args: \"", command_args);
|
||||
#endif
|
||||
SERIAL_ECHOPGM("\"");
|
||||
SERIAL_CHAR('"');
|
||||
if (string_arg) {
|
||||
SERIAL_ECHOPGM(" string: \"");
|
||||
SERIAL_ECHO(string_arg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue