mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-12-25 09:08:33 -07:00
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:
parent
f04895f540
commit
db7acaa34a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue