Rename SendLineToPrinterNow -> QueueLine
- Issue MatterHackers/MCCentral#2550 SendLineToPrinterNow queues printer commands
This commit is contained in:
parent
2793db6a9a
commit
edceab2e85
12 changed files with 74 additions and 86 deletions
|
|
@ -60,10 +60,10 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
if (printerConnection.PrinterIsConnected)
|
||||
{
|
||||
printerConnection.MacroStart();
|
||||
printerConnection.SendLineToPrinterNow(GCode);
|
||||
printerConnection.QueueLine(GCode);
|
||||
if (GCode.Contains(MacroProcessingStream.MacroPrefix))
|
||||
{
|
||||
printerConnection.SendLineToPrinterNow("\n" + MacroProcessingStream.MacroPrefix + "close()");
|
||||
printerConnection.QueueLine("\n" + MacroProcessingStream.MacroPrefix + "close()");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue