Skip to content

Commit 5c9138d

Browse files
committed
fixed 11 bit address issue
1 parent f3b0ad2 commit 5c9138d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/windows/pandaJ2534DLL/J2534Connection_ISO15765.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ std::shared_ptr<MessageTx> J2534Connection_ISO15765::parseMessageTx(PASSTHRU_MSG
4343
void J2534Connection_ISO15765::processMessage(const J2534Frame& msg) {
4444
if (msg.ProtocolID != CAN) return;
4545

46-
int fid = get_matching_in_fc_filter_id(msg);
46+
int fid = get_matching_in_fc_filter_id(msg, this->Flags);
4747
if (fid == -1) return;
4848

4949
auto filter = this->filters[fid];

drivers/windows/pandaJ2534DLL/J2534Connection_ISO15765.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class J2534Connection_ISO15765 : public J2534Connection {
2525

2626
int get_matching_out_fc_filter_id(const std::string & msgdata, unsigned long flags, unsigned long flagmask);
2727

28-
int get_matching_in_fc_filter_id(const J2534Frame& msg, unsigned long flagmask = CAN_29BIT_ID);
28+
int get_matching_in_fc_filter_id(const J2534Frame& msg, unsigned long flagmask);
2929

3030
virtual unsigned long validateTxMsg(PASSTHRU_MSG* msg);
3131

0 commit comments

Comments
 (0)