Guard for unknown state
This commit is contained in:
parent
43a7e82ab9
commit
43d809f2b7
1 changed files with 5 additions and 1 deletions
|
|
@ -97,7 +97,11 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
||||||
commandQueue.Enqueue(gcodeToQueue);
|
commandQueue.Enqueue(gcodeToQueue);
|
||||||
}
|
}
|
||||||
|
|
||||||
commandQueue.Enqueue($"G1 F{feedRate}");
|
if (feedRate != double.PositiveInfinity)
|
||||||
|
{
|
||||||
|
commandQueue.Enqueue($"G1 F{feedRate}");
|
||||||
|
}
|
||||||
|
|
||||||
commandQueue.Enqueue(lineIn);
|
commandQueue.Enqueue(lineIn);
|
||||||
queuedSwitch = true;
|
queuedSwitch = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue