Skip to content

Commit f3b0ad2

Browse files
committed
fix LOOPBACK getting set when DATA_RATE is set
1 parent b750d36 commit f3b0ad2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/windows/pandaJ2534DLL/J2534Connection.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ void J2534Connection::processIOCTLSetConfig(unsigned long Parameter, unsigned lo
222222
switch (Parameter) {
223223
case DATA_RATE: // 5-500000
224224
this->setBaud(Value);
225+
break;
225226
case LOOPBACK: // 0 (OFF), 1 (ON) [0]
226227
this->loopback = (Value != 0);
227228
break;

0 commit comments

Comments
 (0)