mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Instead of not sending the line at all, just send a get temp command
This commit is contained in:
parent
645e3e8dfe
commit
e30e2a8018
1 changed files with 2 additions and 3 deletions
|
@ -560,10 +560,9 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
|||
line = line[:line.find(";")]
|
||||
line = line.strip()
|
||||
|
||||
# Don't send empty lines
|
||||
# Don't send empty lines. But we do have to send something, so send m105 instead.
|
||||
if line == "":
|
||||
self._gcode_position += 1
|
||||
return
|
||||
line = "M105"
|
||||
|
||||
try:
|
||||
if line == "M0" or line == "M1":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue