Tweak serial output code

This commit is contained in:
Scott Lahteine
2019-02-02 23:32:48 -06:00
parent a5e3384691
commit 4fa1c52688
10 changed files with 14 additions and 14 deletions

View File

@ -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;
}

View File

@ -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");
}
}
}

View File

@ -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;
}