gcode: Always allow M112 command
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
c70cc8fadb
commit
3a2d16abb3
|
@ -394,6 +394,7 @@ class GCodeParser:
|
||||||
def cmd_M109(self, params):
|
def cmd_M109(self, params):
|
||||||
# Set Extruder Temperature and Wait
|
# Set Extruder Temperature and Wait
|
||||||
self.set_temp(params, wait=True)
|
self.set_temp(params, wait=True)
|
||||||
|
cmd_M112_when_not_ready = True
|
||||||
def cmd_M112(self, params):
|
def cmd_M112(self, params):
|
||||||
# Emergency Stop
|
# Emergency Stop
|
||||||
self.printer.invoke_shutdown("Shutdown due to M112 command")
|
self.printer.invoke_shutdown("Shutdown due to M112 command")
|
||||||
|
|
Loading…
Reference in New Issue