diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-06-23 20:41:43 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-06-23 20:41:43 -0400 |
commit | 41058d22a6f607a800eb69ae642c7e1da967db34 (patch) | |
tree | 6142850612a620647cd63a20897b349a7976e8ac /klippy | |
parent | f08a0c5e93b92a6efa72d16a3d53968f3e54bf1c (diff) | |
download | kutter-41058d22a6f607a800eb69ae642c7e1da967db34.tar.gz kutter-41058d22a6f607a800eb69ae642c7e1da967db34.tar.xz kutter-41058d22a6f607a800eb69ae642c7e1da967db34.zip |
toolhead: Disable all extruder motors on a motor_off()
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy')
-rw-r--r-- | klippy/toolhead.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py index e5cda5d3..ba6319a1 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -353,7 +353,8 @@ class ToolHead: self.dwell(STALL_TIME) last_move_time = self.get_last_move_time() self.kin.motor_off(last_move_time) - self.extruder.motor_off(last_move_time) + for ext in extruder.get_printer_extruders(self.printer): + ext.motor_off(last_move_time) self.dwell(STALL_TIME) self.need_motor_off = False logging.debug('; Max time of %f', last_move_time) |