From d5379ee9d68061b58207c3a2d4e81f4ea3c7cc7d Mon Sep 17 00:00:00 2001 From: Roxy-3D Date: Wed, 5 Sep 2018 16:57:08 -0500 Subject: [PATCH] Fix search for white space in enqueued commands --- Marlin/src/gcode/queue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/gcode/queue.cpp b/Marlin/src/gcode/queue.cpp index ae56e8745..7951e5904 100644 --- a/Marlin/src/gcode/queue.cpp +++ b/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; }