mirror of
git://soft.sys114.com/klipper
synced 2026-02-11 20:40:27 +09:00
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 <kevin@koconnor.net>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user