diff options
author | Guillaume Seguin <guillaume@segu.in> | 2013-07-16 01:12:58 +0400 |
---|---|---|
committer | Guillaume Seguin <guillaume@segu.in> | 2013-07-16 01:12:58 +0400 |
commit | d973abf4a5877e19781fa2fe06ff92d41895948b (patch) | |
tree | 1ed03daa9eb3e5ee42b2489a36f78e666975b9e6 /pronsole.py | |
parent | 64bd069440059d79a7632dbcfd9c21c0a1d94114 (diff) |
Add "off" button
Diffstat (limited to 'pronsole.py')
-rwxr-xr-x | pronsole.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pronsole.py b/pronsole.py index 2848b64..18f146a 100755 --- a/pronsole.py +++ b/pronsole.py @@ -1421,6 +1421,9 @@ class pronsole(cmd.Cmd): self.log(_("home xyze - homes all axes and zeroes the extruder (Using G28 and G92)")) def do_off(self, l): + self.off() + + def off(self): if self.p.online: if self.p.printing: self.pause(None) self.onecmd("M84; motors off") |