diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-11-10 11:55:53 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-11-10 11:55:53 -0500 |
commit | f50e054bd069a0e7ae9455dfa5ddfc6894c4789e (patch) | |
tree | 339a8ace3f3272629321eb51bd7c8c70c459700a /klippy/gcode.py | |
parent | 064804b68867a83fd77f687b2f504069b74de771 (diff) | |
download | kutter-f50e054bd069a0e7ae9455dfa5ddfc6894c4789e.tar.gz kutter-f50e054bd069a0e7ae9455dfa5ddfc6894c4789e.tar.xz kutter-f50e054bd069a0e7ae9455dfa5ddfc6894c4789e.zip |
stepper_enable: Add new extras module for stepper enable line tracking
Move the M18/M84 command handling from gcode.py to new stepper_enable
module.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/gcode.py')
-rw-r--r-- | klippy/gcode.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/klippy/gcode.py b/klippy/gcode.py index ab5cc012..82e9a303 100644 --- a/klippy/gcode.py +++ b/klippy/gcode.py @@ -475,7 +475,7 @@ class GCodeParser: key_param, key)) values[key_param](params) all_handlers = [ - 'G1', 'G4', 'G28', 'M18', 'M400', + 'G1', 'G4', 'G28', 'M400', 'G20', 'M82', 'M83', 'G90', 'G91', 'G92', 'M114', 'M220', 'M221', 'SET_GCODE_OFFSET', 'M206', 'SAVE_GCODE_STATE', 'RESTORE_GCODE_STATE', 'M105', 'M104', 'M109', 'M140', 'M190', 'M106', 'M107', @@ -536,10 +536,6 @@ class GCodeParser: for axis in homing_state.get_axes(): self.base_position[axis] = self.homing_position[axis] self.reset_last_position() - cmd_M18_aliases = ["M84"] - def cmd_M18(self, params): - # Turn off motors - self.toolhead.motor_off() def cmd_M400(self, params): # Wait for current moves to finish self.toolhead.wait_moves() |