c++ replay: support local routes (#22288)

* support local route

* kind of works

* works

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 43a846843f1a8af33c21afb10195899e8880d775
This commit is contained in:
Dean Lee
2021-10-12 15:51:22 +08:00
committed by GitHub
parent b5ebe63878
commit 06a1dd7598
6 changed files with 64 additions and 22 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ def can_printer(bus, max_msg, addr):
a = msgs[addr][-1].decode('ascii', 'backslashreplace')
x = binascii.hexlify(msgs[addr][-1]).decode('ascii')
if max_msg is None or addr < max_msg:
dd += "%04X(%4d)(%6d) %s \"%s\"\n" % (addr, addr, len(msgs[addr]), x, a)
dd += "%04X(%4d)(%6d) %s \"%s\"\n" % (addr, addr, len(msgs[addr]), x.ljust(20), a)
print(dd)
lp = sec_since_boot()