gcode: Fix SET_GCODE_OFFSET MOVE_SPEED parameter

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-05-26 20:04:50 -04:00
parent 423bbada84
commit 862b97ce8f
1 changed files with 1 additions and 2 deletions

View File

@ -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: