Merge pull request #473 from Salandora/EmergencyBug
Emergency Stop should not only trigger an event but also at least cancel the print Closes #448
This commit is contained in:
commit
7bba1dc944
1 changed files with 5 additions and 0 deletions
|
|
@ -1206,6 +1206,11 @@ class MachineCom(object):
|
|||
|
||||
return None
|
||||
|
||||
def _gcode_M112(self, cmd): # It's an emergency what todo? Canceling the print should be the minimum
|
||||
self.cancelPrint()
|
||||
return cmd
|
||||
|
||||
|
||||
### MachineCom callback ################################################################################################
|
||||
|
||||
class MachineComPrintCallback(object):
|
||||
|
|
|
|||
Loading…
Reference in a new issue