From f3b0ad29e23b7146009a0a988dc899a621251192 Mon Sep 17 00:00:00 2001 From: gregjhogan Date: Sun, 18 Feb 2018 11:18:44 -0600 Subject: [PATCH] fix LOOPBACK getting set when DATA_RATE is set --- drivers/windows/pandaJ2534DLL/J2534Connection.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/windows/pandaJ2534DLL/J2534Connection.cpp b/drivers/windows/pandaJ2534DLL/J2534Connection.cpp index cb7845fbcd11f2..aa364b0f8a323c 100644 --- a/drivers/windows/pandaJ2534DLL/J2534Connection.cpp +++ b/drivers/windows/pandaJ2534DLL/J2534Connection.cpp @@ -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;