Skip to content

Commit

Permalink
fixed unload distance bug with extruder sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
moggieuk committed Jan 14, 2024
1 parent f47e299 commit b5c5cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/mmu.py
Original file line number Diff line number Diff line change
Expand Up @@ -3635,7 +3635,7 @@ def _unload_extruder(self, extruder_only=False, park_pos=0., validate=True):
self._log_info("Warning: Filament was not detected by extruder (entry) sensor at start of extruder unload")
fhomed = True # Assumption
else:
hlength = self.toolhead_entry_to_extruder + self.toolhead_unload_safety_margin
hlength = self.toolhead_extruder_to_nozzle + self.toolhead_entry_to_extruder + self.toolhead_unload_safety_margin
self._log_debug("Reverse homing up to %.1fmm to extruder sensor (synced) to exit extruder" % hlength)
ts_actual,fhomed,_,_ = self._trace_filament_move("Reverse homing to extruder sensor", -hlength, motor=motor, homing_move=-1, endstop_name=self.ENDSTOP_EXTRUDER)

Expand Down

0 comments on commit b5c5cf4

Please sign in to comment.