gcode: Fix SET_GCODE_OFFSET MOVE_SPEED parameter
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
423bbada84
commit
862b97ce8f
|
@ -616,8 +616,7 @@ class GCodeParser:
|
||||||
self.homing_position[pos] = offset
|
self.homing_position[pos] = offset
|
||||||
# Move the toolhead the given offset if requested
|
# Move the toolhead the given offset if requested
|
||||||
if self.get_int('MOVE', params, 0):
|
if self.get_int('MOVE', params, 0):
|
||||||
speed = self.get_float('MOVE_SPEED', params,
|
speed = self.get_float('MOVE_SPEED', params, self.speed, above=0.)
|
||||||
self.speed * self.speed_factor, above=0.)
|
|
||||||
for pos, delta in enumerate(move_delta):
|
for pos, delta in enumerate(move_delta):
|
||||||
self.last_position[pos] += delta
|
self.last_position[pos] += delta
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue