mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-15 10:47:52 -06:00
homing: Pass printer instead of toolhead object to Homing class
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
e7498fa241
commit
fedf90680e
3 changed files with 5 additions and 4 deletions
|
@ -10,8 +10,9 @@ ENDSTOP_SAMPLE_TIME = .000015
|
|||
ENDSTOP_SAMPLE_COUNT = 4
|
||||
|
||||
class Homing:
|
||||
def __init__(self, toolhead):
|
||||
self.toolhead = toolhead
|
||||
def __init__(self, printer):
|
||||
self.printer = printer
|
||||
self.toolhead = printer.lookup_object('toolhead')
|
||||
self.changed_axes = []
|
||||
self.verify_retract = True
|
||||
def set_no_verify_retract(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue