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)
|
if(strcmp(cmdbuffer[bufindw], "M112") == 0)
|
||||||
{
|
|
||||||
kill();
|
kill();
|
||||||
}
|
|
||||||
|
|
||||||
bufindw = (bufindw + 1)%BUFSIZE;
|
bufindw = (bufindw + 1)%BUFSIZE;
|
||||||
buflen += 1;
|
buflen += 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user