More updated files for version 0.78m

This commit is contained in:
David Crocker 2014-08-24 22:59:18 +01:00
parent 3520c24546
commit 4f7cd4a833
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -323,6 +323,7 @@ void Webserver::ProcessGcode(const char* gc)
fileInfoDetected = GetFileInfo(platform->GetGCodeDir(), &gc[4], currentFileInfo);
printStartTime = platform->Time();
strncpy(fileBeingPrinted, &gc[4], ARRAY_SIZE(fileBeingPrinted));
fileBeingPrinted[ARRAY_UPB(fileBeingPrinted)] = 0;
reprap.GetGCodes()->QueueFileToPrint(&gc[4]);
}
else if (StringStartsWith(gc, "M112") && !isdigit(gc[4])) // emergency stop