Skip to content

Commit

Permalink
fixed 11 bit address issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gregjhogan committed Feb 19, 2018
1 parent f3b0ad2 commit 5c9138d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/windows/pandaJ2534DLL/J2534Connection_ISO15765.cpp
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion drivers/windows/pandaJ2534DLL/J2534Connection_ISO15765.h
Expand Up @@ -25,7 +25,7 @@ class J2534Connection_ISO15765 : public J2534Connection {

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);

Expand Down

0 comments on commit 5c9138d

Please sign in to comment.