mirror of https://github.com/Desuuuu/klipper.git
motion_report: Fix typo causing incomplete queries
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
7fddc5a8fa
commit
e3cf8fc819
|
@ -23,8 +23,7 @@ class DumpStepper:
|
||||||
break
|
break
|
||||||
end_clock = data[count-1].first_clock
|
end_clock = data[count-1].first_clock
|
||||||
res.reverse()
|
res.reverse()
|
||||||
return ([data[i] for i in range(count-1, -1, -1)
|
return ([d[i] for d, cnt in res for i in range(cnt-1, -1, -1)], res)
|
||||||
for data, count in res], res)
|
|
||||||
def log_steps(self, data):
|
def log_steps(self, data):
|
||||||
if not data:
|
if not data:
|
||||||
return
|
return
|
||||||
|
@ -60,8 +59,7 @@ class DumpTrapQ:
|
||||||
break
|
break
|
||||||
end_time = data[count-1].print_time
|
end_time = data[count-1].print_time
|
||||||
res.reverse()
|
res.reverse()
|
||||||
return ([data[i] for i in range(count-1, -1, -1)
|
return ([d[i] for d, cnt in res for i in range(cnt-1, -1, -1)], res)
|
||||||
for data, count in res], res)
|
|
||||||
def log_trapq(self, data):
|
def log_trapq(self, data):
|
||||||
if not data:
|
if not data:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue