Don't wait for position when printing to SD card

This commit is contained in:
Lars Brubaker 2015-01-23 16:07:31 -08:00
parent 3adcc65b9a
commit 8cba27633c
2 changed files with 3 additions and 1 deletions

View file

@ -2069,7 +2069,8 @@ namespace MatterHackers.MatterControl.PrinterCommunication
string[] splitOnSemicolon = lineToWrite.Split(';');
string trimedLine = splitOnSemicolon[0].Trim().ToUpper();
if (lineToWrite.Contains("M114"))
if (lineToWrite.Contains("M114")
&& CommunicationState != CommunicationStates.PrintingToSd)
{
waitingForPosition = true;
}