Test and refactor
This commit is contained in:
parent
a38c90ee84
commit
f643f4d674
|
@ -659,10 +659,9 @@ void get_command()
|
|||
|
||||
}
|
||||
|
||||
//If command was e-stop process now
|
||||
if(strcmp(cmdbuffer[bufindw], "M112") == 0)
|
||||
{
|
||||
kill();
|
||||
}
|
||||
|
||||
bufindw = (bufindw + 1)%BUFSIZE;
|
||||
buflen += 1;
|
||||
|
|
Loading…
Reference in a new issue