mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 01:25:51 +08:00
Instead of not sending the line at all, just send a get temp command
This commit is contained in:
parent
645e3e8dfe
commit
e30e2a8018
@ -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…
x
Reference in New Issue
Block a user