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 2025-11-09 18:57:16 -05:00
parent f04895f540
commit db7acaa34a

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)