Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlee committed Jul 31, 2024
1 parent 0234f1e commit 5c5facb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions can/parser_pyx.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ cdef class CANParser:
except IndexError:
raise RuntimeError(f"could not find message {repr(c[0])} in DBC {self.dbc_name}")

address = m.address
message_v.push_back((address, c[1]))
message_v.push_back((m.address, c[1]))

self.can = new cpp_CANParser(bus, dbc_name, message_v)

# Populate dictionaries with ValueDict
for address, _ in message_v:
m = self.dbc.addr_to_msg.at(address)
name = m.name.decode("utf8")
Expand Down

0 comments on commit 5c5facb

Please sign in to comment.