toolhead: Fix toolhead stop on SET_VELOCITY_LIMIT (#5053)

This fixes issue #5050

Signed-off-by: Stephen Hurd <deuce@synchro.net>
This commit is contained in:
Stephen Hurd 2021-12-30 18:56:24 -05:00 committed by GitHub
parent 309b8e030f
commit f8afe49a2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -552,7 +552,6 @@ class ToolHead:
self.wait_moves() self.wait_moves()
cmd_SET_VELOCITY_LIMIT_help = "Set printer velocity limits" cmd_SET_VELOCITY_LIMIT_help = "Set printer velocity limits"
def cmd_SET_VELOCITY_LIMIT(self, gcmd): def cmd_SET_VELOCITY_LIMIT(self, gcmd):
print_time = self.get_last_move_time()
max_velocity = gcmd.get_float('VELOCITY', None, above=0.) max_velocity = gcmd.get_float('VELOCITY', None, above=0.)
max_accel = gcmd.get_float('ACCEL', None, above=0.) max_accel = gcmd.get_float('ACCEL', None, above=0.)
square_corner_velocity = gcmd.get_float( square_corner_velocity = gcmd.get_float(