Optimize some serial strings
This commit is contained in:
@ -93,7 +93,7 @@ void GcodeSuite::M852() {
|
||||
|
||||
if (!ijk) {
|
||||
SERIAL_ECHO_START();
|
||||
SERIAL_ECHO(MSG_SKEW_FACTOR " XY: ");
|
||||
SERIAL_ECHOPGM(MSG_SKEW_FACTOR " XY: ");
|
||||
SERIAL_ECHO_F(planner.xy_skew_factor, 6);
|
||||
SERIAL_EOL();
|
||||
#if ENABLED(SKEW_CORRECTION_FOR_Z)
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user