Skip to content

Commit

Permalink
电机关闭后,限位不重置为非法设定.
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoGeTiertime committed Nov 6, 2023
1 parent 181464c commit 1d2064d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion klippy/kinematics/cartesian.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ def home(self, homing_state):
else:
self.home_axis(homing_state, axis, self.rails[axis])
def _motor_off(self, print_time):
self.limits = [(1.0, -1.0)] * 3
# self.limits = [(1.0, -1.0)] * 3
self.limits = [(-100.0, 100.0)] * 3
def _check_endstops(self, move):
end_pos = move.end_pos
for i in (0, 1, 2):
Expand Down

0 comments on commit 1d2064d

Please sign in to comment.