extruder_stepper: define missing public methods methods
Other modules could access the extruderN by the printer lookup_object(). That would return this wrapper class. Specifically, filament_motion_sensor will. They can try to access missing methods and klippy would crash. Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
This commit is contained in:
1 parent
8a833175a5
commit
93ea9ddfa9
1 file changed
+2
@@ -15,6 +15,8 @@ class PrinterExtruderStepper:
|
||||
self.handle_connect)
|
||||
def handle_connect(self):
|
||||
self.extruder_stepper.sync_to_extruder(self.extruder_name)
|
||||
def find_past_position(self, print_time):
|
||||
return self.extruder_stepper.find_past_position(print_time)
|
||||
def get_status(self, eventtime):
|
||||
return self.extruder_stepper.get_status(eventtime)
|
||||
|
||||
|
||||
Reference in new issue
Block a user