mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-16 03:07:56 -06:00
extruder: Fix SET_PRESSURE_ADVANCE so that it works with multiple extruders
Use the new gcode.register_mux_command() so that SET_PRESSURE_ADVANCE works correctly with multiple extruders. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
75a1e9ea21
commit
2ab47cd20c
3 changed files with 16 additions and 5 deletions
|
@ -372,6 +372,8 @@ class ToolHead:
|
|||
self.extruder = extruder
|
||||
self.move_queue.set_extruder(extruder)
|
||||
self.commanded_pos[3] = extrude_pos
|
||||
def get_extruder(self):
|
||||
return self.extruder
|
||||
# Misc commands
|
||||
def stats(self, eventtime):
|
||||
for m in self.all_mcus:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue