Rename SendLineToPrinterNow -> QueueLine

- Issue MatterHackers/MCCentral#2550
SendLineToPrinterNow queues printer commands
This commit is contained in:
John Lewin 2018-01-04 17:30:48 -08:00
parent 2793db6a9a
commit edceab2e85
12 changed files with 74 additions and 86 deletions

View file

@ -69,7 +69,7 @@ namespace MatterHackers.MatterControl.Library
printer.Connection.ReadLine.RegisterEvent(Printer_LineRead, ref unregisterEvents);
gotBeginFileList = false;
printer.Connection.SendLineToPrinterNow("M21\r\nM20");
printer.Connection.QueueLine("M21\r\nM20");
// Ask for files and wait for response
autoResetEvent.WaitOne();