|
@ -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; |
|
|