Skip to content

Commit

Permalink
CANParser: only filter bus (#1436)
Browse files Browse the repository at this point in the history
only bus filter
  • Loading branch information
sshane authored Nov 2, 2024
1 parent 788a2db commit 472c62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opendbc/can/parser_pyx.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ cdef class CANParser:
can_data.frames.reserve(len(s[1]))
for address, dat, src in s[1]:
source_bus = <uint32_t>src
if source_bus == self.bus and address in self.addresses:
if source_bus == self.bus:
frame = &(can_data.frames.emplace_back())
frame.address = address
frame.dat = dat
Expand Down

0 comments on commit 472c62e

Please sign in to comment.