idex_modes: A small fix for MOVE_SPEED param

Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
This commit is contained in:
Dmitry Butyugin authored and KevinOConnor committed 2023-08-01 20:26:19 -04:00
1 parent 6f7c743615
commit 55d09771b1
1 file changed
+1 -1
+1 -1
View File
@@ -161,7 +161,7 @@ class DualCarriages:
saved_state = self.saved_states.get(state_name)
if saved_state is None:
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.flush_step_generation()
pos = toolhead.get_position()