motion_report: Fix off-by-one error in live_extruder_velocity calculation
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
1 parent
f04895f540
commit
db7acaa34a
1 file changed
+1
-1
@@ -241,7 +241,7 @@ class PrinterMotionReport:
|
||||
pos, velocity = ehandler.get_trapq_position(print_time)
|
||||
if pos is not None:
|
||||
live_pos[ea_index] = pos[0]
|
||||
if ea_index == 4:
|
||||
if ea_index == 3:
|
||||
evelocity = velocity
|
||||
# Report status
|
||||
self.last_status = dict(self.last_status)
|
||||
|
||||
Reference in new issue
Block a user