Test and refactor

This commit is contained in:
Dan Nixon 2014-03-21 20:42:00 +00:00
parent a38c90ee84
commit f643f4d674

View File

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