Browse Source
Fix search for white space in enqueued commands
pull/1/head
Roxy-3D
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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; |
|
|
|
} |
|
|
|