Tweak serial output code
This commit is contained in:
@ -63,8 +63,8 @@
|
||||
|
||||
if (dual_x_carriage_mode == DXC_SCALED_DUPLICATION_MODE) {
|
||||
if (previous_mode != DXC_DUPLICATION_MODE) {
|
||||
SERIAL_ECHOPGM("Printer must be in DXC_DUPLICATION_MODE prior to \n");
|
||||
SERIAL_ECHOPGM("specifying DXC_SCALED_DUPLICATION_MODE.\n");
|
||||
SERIAL_ECHOLNPGM("Printer must be in DXC_DUPLICATION_MODE prior to ");
|
||||
SERIAL_ECHOLNPGM("specifying DXC_SCALED_DUPLICATION_MODE.");
|
||||
dual_x_carriage_mode = DEFAULT_DUAL_X_CARRIAGE_MODE;
|
||||
return;
|
||||
}
|
||||
|
@ -357,7 +357,7 @@ void GCodeParser::unknown_command_error() {
|
||||
SERIAL_ECHO(string_arg);
|
||||
SERIAL_CHAR('"');
|
||||
}
|
||||
SERIAL_ECHOPGM("\n\n");
|
||||
SERIAL_ECHOLNPGM("\n");
|
||||
for (char c = 'A'; c <= 'Z'; ++c) {
|
||||
if (seen(c)) {
|
||||
SERIAL_ECHOPAIR("Code '", c); SERIAL_ECHOPGM("':");
|
||||
@ -376,7 +376,7 @@ void GCodeParser::unknown_command_error() {
|
||||
}
|
||||
else
|
||||
SERIAL_ECHOPGM(" (no value)");
|
||||
SERIAL_ECHOPGM("\n\n");
|
||||
SERIAL_ECHOLNPGM("\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ bool enqueue_and_echo_command(const char* cmd) {
|
||||
//SERIAL_ECHOPGM("\") \n");
|
||||
|
||||
if (*cmd == 0 || *cmd == '\n' || *cmd == '\r') {
|
||||
//SERIAL_ECHOPGM("Null command found... Did not queue!\n");
|
||||
//SERIAL_ECHOLNPGM("Null command found... Did not queue!");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user