From bfb34e07017248268474281dc6678a8d141458ad Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 12 Nov 2019 11:41:41 -0500 Subject: stepper_enable: Move motor_off() logic to stepper_enable.py Directly disable all the stepper motors on a global motor_off() from the StepperEnable() class in stepper_enable.py. This simplifies the toolhead and kinematic classes. Signed-off-by: Kevin O'Connor --- klippy/kinematics/winch.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'klippy/kinematics/winch.py') diff --git a/klippy/kinematics/winch.py b/klippy/kinematics/winch.py index c48648c9..32d388ad 100644 --- a/klippy/kinematics/winch.py +++ b/klippy/kinematics/winch.py @@ -42,9 +42,6 @@ class WinchKinematics: # XXX - homing not implemented homing_state.set_axes([0, 1, 2]) homing_state.set_homed_position([0., 0., 0.]) - def motor_off(self, print_time): - for s in self.steppers: - s.motor_enable(print_time, 0) def check_move(self, move): # XXX - boundary checks and speed limits not implemented pass -- cgit v1.2.3-70-g09d2