Skip to content

Commit

Permalink
fix LOOPBACK getting set when DATA_RATE is set
Browse files Browse the repository at this point in the history
  • Loading branch information
gregjhogan committed Feb 18, 2018
1 parent b750d36 commit f3b0ad2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/windows/pandaJ2534DLL/J2534Connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ void J2534Connection::processIOCTLSetConfig(unsigned long Parameter, unsigned lo
switch (Parameter) {
case DATA_RATE: // 5-500000
this->setBaud(Value);
break;
case LOOPBACK: // 0 (OFF), 1 (ON) [0]
this->loopback = (Value != 0);
break;
Expand Down

0 comments on commit f3b0ad2

Please sign in to comment.