Fix search for white space in enqueued commands
This commit is contained in:
parent
8d5bea073b
commit
d5379ee9d6
@ -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…
Reference in New Issue
Block a user