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:
Kevin O'Connor committed 2025-11-09 18:57:16 -05:00
1 parent f04895f540
commit db7acaa34a
1 file changed
+1 -1
+1 -1
View File
@@ -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)