mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 11:56:05 +08:00
Only send uppercase g-code via custom commands
Because most printers don't understand anything other than uppercase. Fixes #4178.
This commit is contained in:
parent
f54a85688f
commit
4a4b096052
@ -66,7 +66,7 @@ class GenericOutputController(PrinterOutputController):
|
||||
self._output_device.sendCommand("G28 Z")
|
||||
|
||||
def sendRawCommand(self, printer: "PrinterOutputModel", command: str):
|
||||
self._output_device.sendCommand(command)
|
||||
self._output_device.sendCommand(command.upper()) #Most printers only understand uppercase g-code commands.
|
||||
|
||||
def setJobState(self, job: "PrintJobOutputModel", state: str):
|
||||
if state == "pause":
|
||||
|
Loading…
x
Reference in New Issue
Block a user