mirror of https://github.com/commaai/panda.git
fixed 11 bit address issue
This commit is contained in:
parent
f3b0ad29e2
commit
5c9138db53
|
@ -43,7 +43,7 @@ std::shared_ptr<MessageTx> J2534Connection_ISO15765::parseMessageTx(PASSTHRU_MSG
|
|||
void J2534Connection_ISO15765::processMessage(const J2534Frame& msg) {
|
||||
if (msg.ProtocolID != CAN) return;
|
||||
|
||||
int fid = get_matching_in_fc_filter_id(msg);
|
||||
int fid = get_matching_in_fc_filter_id(msg, this->Flags);
|
||||
if (fid == -1) return;
|
||||
|
||||
auto filter = this->filters[fid];
|
||||
|
|
|
@ -25,7 +25,7 @@ public:
|
|||
|
||||
int get_matching_out_fc_filter_id(const std::string & msgdata, unsigned long flags, unsigned long flagmask);
|
||||
|
||||
int get_matching_in_fc_filter_id(const J2534Frame& msg, unsigned long flagmask = CAN_29BIT_ID);
|
||||
int get_matching_in_fc_filter_id(const J2534Frame& msg, unsigned long flagmask);
|
||||
|
||||
virtual unsigned long validateTxMsg(PASSTHRU_MSG* msg);
|
||||
|
||||
|
|
Loading…
Reference in New Issue