mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-11-17 02:31:01 +01:00
idex_modes: A small fix for MOVE_SPEED param
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
This commit is contained in:
committed by
KevinOConnor
parent
6f7c743615
commit
55d09771b1
@@ -161,7 +161,7 @@ class DualCarriages:
|
|||||||
saved_state = self.saved_states.get(state_name)
|
saved_state = self.saved_states.get(state_name)
|
||||||
if saved_state is None:
|
if saved_state is None:
|
||||||
raise gcmd.error("Unknown DUAL_CARRIAGE state: %s" % (state_name,))
|
raise gcmd.error("Unknown DUAL_CARRIAGE state: %s" % (state_name,))
|
||||||
move_speed = gcmd.get('MOVE_SPEED', 0., above=0.)
|
move_speed = gcmd.get_float('MOVE_SPEED', 0., above=0.)
|
||||||
toolhead = self.printer.lookup_object('toolhead')
|
toolhead = self.printer.lookup_object('toolhead')
|
||||||
toolhead.flush_step_generation()
|
toolhead.flush_step_generation()
|
||||||
pos = toolhead.get_position()
|
pos = toolhead.get_position()
|
||||||
|
|||||||
Reference in New Issue
Block a user