mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 21:09:00 +08:00
Fixed minor mistake with pull request
CURA-3681
This commit is contained in:
parent
04d2f8d68c
commit
d6d6036760
@ -570,7 +570,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
|||||||
# m105 instead.
|
# m105 instead.
|
||||||
# Don't send the M0 or M1 to the machine, as M0 and M1 are handled as
|
# Don't send the M0 or M1 to the machine, as M0 and M1 are handled as
|
||||||
# an LCD menu pause.
|
# an LCD menu pause.
|
||||||
if line == "" or line == "M1" or line == "M1":
|
if line == "" or line == "M0" or line == "M1":
|
||||||
line = "M105"
|
line = "M105"
|
||||||
try:
|
try:
|
||||||
if ("G0" in line or "G1" in line) and "Z" in line:
|
if ("G0" in line or "G1" in line) and "Z" in line:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user