Browse Source

Fix search for white space in enqueued commands

pull/1/head
Roxy-3D 6 years ago
committed by GitHub
parent
commit
d5379ee9d6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Marlin/src/gcode/queue.cpp

2
Marlin/src/gcode/queue.cpp

@ -143,7 +143,7 @@ bool enqueue_and_echo_command(const char* cmd) {
//SERIAL_ECHO(cmd);
//SERIAL_ECHO("\") \n");
if (*cmd == 0 || *cmd == '\n' || *cmd == 'r') {
if (*cmd == 0 || *cmd == '\n' || *cmd == '\r') {
//SERIAL_ECHO("Null command found... Did not queue!\n");
return true;
}

Loading…
Cancel
Save