Stop sending empty commands as this confuses the communication with e.g. Smoothieware. See PR #3346 and bug #1777

This commit is contained in:
Simon Lundell 2018-02-23 16:12:01 +01:00
parent c393167878
commit d62dbe5187

View file

@ -266,7 +266,6 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
command = (command + "\n").encode()
if not command.endswith(b"\n"):
command += b"\n"
self._serial.write(b"\n")
self._serial.write(command)
def _update(self):