Skip to content
Snippets Groups Projects
Unverified Commit d5379ee9 authored by Roxy-3D's avatar Roxy-3D Committed by GitHub
Browse files

Fix search for white space in enqueued commands

parent 8d5bea07
Branches
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment