Commit 19179d50 authored by Guillaume Seguin's avatar Guillaume Seguin

"off" should turn fans off too (#409)

parent 2d62d11b
...@@ -1429,6 +1429,7 @@ class pronsole(cmd.Cmd): ...@@ -1429,6 +1429,7 @@ class pronsole(cmd.Cmd):
self.onecmd("M84; motors off") self.onecmd("M84; motors off")
self.onecmd("M104 S0; extruder off") self.onecmd("M104 S0; extruder off")
self.onecmd("M140 S0; heatbed off") self.onecmd("M140 S0; heatbed off")
self.onecmd("M107; fan off")
self.onecmd("M81; power supply off") self.onecmd("M81; power supply off")
else: else:
self.logError(_("Printer is not online. Unable to turn it off.")) self.logError(_("Printer is not online. Unable to turn it off."))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment