Fixed RAMPS 1.2 support (Found and fixed by rrhb)

This commit is contained in:
Erik van der Zalm
2012-03-03 20:15:41 +01:00
parent b4833d55c2
commit ed951b1977
2 changed files with 2 additions and 4 deletions

View File

@@ -299,7 +299,7 @@ void setup()
void loop()
{
if(buflen<3)
if(buflen < (BUFSIZE-1))
get_command();
#ifdef SDSUPPORT
card.checkautostart(false);