mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:59:00 +08:00
Stop sending empty commands as this confuses the communication with e.g. Smoothieware. See PR #3346 and bug #1777
This commit is contained in:
parent
c393167878
commit
d62dbe5187
@ -266,7 +266,6 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
|||||||
command = (command + "\n").encode()
|
command = (command + "\n").encode()
|
||||||
if not command.endswith(b"\n"):
|
if not command.endswith(b"\n"):
|
||||||
command += b"\n"
|
command += b"\n"
|
||||||
self._serial.write(b"\n")
|
|
||||||
self._serial.write(command)
|
self._serial.write(command)
|
||||||
|
|
||||||
def _update(self):
|
def _update(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user